EditorDrawing.rendering
property · packages/richtext-dom/src/editor.ts:351
readonly rendering?: RichText.Rendering | undefinedRich text / foldkit-richtext-dom/editor
interface · packages/richtext-dom/src/editor.ts:350
interface EditorDrawing {
readonly rendering?: RichText.Rendering | undefined
readonly decorate?: Decorate | undefined
readonly placeholder?: string | undefined
readonly lineHint?: string | undefined
readonly label?: string | undefined
readonly labelledBy?: string | undefined
readonly nodes?: RichText.NodeRegistry | undefined
readonly keymap?: ReadonlyArray<KeyBinding> | undefined
}How an attached editor draws: its rendering registry and what it draws over the document.
EditorDrawing.renderingproperty · packages/richtext-dom/src/editor.ts:351
readonly rendering?: RichText.Rendering | undefinedEditorDrawing.decorateproperty · packages/richtext-dom/src/editor.ts:352
readonly decorate?: Decorate | undefinedEditorDrawing.placeholderproperty · packages/richtext-dom/src/editor.ts:354
readonly placeholder?: string | undefinedWhat a blank document shows.
EditorDrawing.lineHintproperty · packages/richtext-dom/src/editor.ts:356
readonly lineHint?: string | undefinedWhat the empty paragraph the caret is in shows.
EditorDrawing.labelproperty · packages/richtext-dom/src/editor.ts:358
readonly label?: string | undefinedThe editor's accessible name (EditorName): aria-label or aria-labelledby on its root.
EditorDrawing.labelledByproperty · packages/richtext-dom/src/editor.ts:359
readonly labelledBy?: string | undefinedEditorDrawing.nodesproperty · packages/richtext-dom/src/editor.ts:361
readonly nodes?: RichText.NodeRegistry | undefinedThe node vocabulary, which says where Tab means something (RichText.takesTab).
EditorDrawing.keymapproperty · packages/richtext-dom/src/editor.ts:363
readonly keymap?: ReadonlyArray<KeyBinding> | undefinedChords beside the built-in ones, checked first (AttachOptions.keymap).