This page is available as Markdown at /api/editor/type-aliases/span.md.
For the full documentation index, see /llms.txt, or
the complete corpus at /llms-full.txt.
Span
Span =
object
Defined in: packages/editor/src/renderers/renderer.types.ts:251
A span registration. The span _type is 'span' at the top level.
Positional overrides nested in a container’s of array can register
a different _type for a span-like inline at that lexical scope
(e.g. a code-span inside a code-block).
Properties
Section titled “Properties”kind:
"span"
Defined in: packages/editor/src/renderers/renderer.types.ts:252
render?
Section titled “render?”
optionalrender:SpanRender
Defined in: packages/editor/src/renderers/renderer.types.ts:260
Outer render. Two modes:
- omitted: fall through to global registered render (or engine default)
- function: use this render. The function receives a
renderDefaultprop that returns the engine default when called.
type:
string
Defined in: packages/editor/src/renderers/renderer.types.ts:253