This page is available as Markdown at /api/editor/type-aliases/annotation.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.
Annotation
Annotation =
object
Defined in: packages/editor/src/renderers/renderer.types.ts:356
An annotation registration. type is an annotation _type declared
in the schema’s annotations array, or '*' to match every
annotation type.
Properties
Section titled “Properties”kind:
"annotation"
Defined in: packages/editor/src/renderers/renderer.types.ts:357
render?
Section titled “render?”
optionalrender:AnnotationRender
Defined in: packages/editor/src/renderers/renderer.types.ts:366
Outer render. Two modes:
- omitted: fall through to global registered render (or identity, the engine default, if no global registration exists)
- function: use this render. The function receives a
renderDefaultprop that returns identity when called.
type:
string
Defined in: packages/editor/src/renderers/renderer.types.ts:358