EditorDrawing.rendering
property · packages/richtext-dom/src/editor.ts:347
readonly rendering?: RichText.Rendering | undefinedRich text / foldkit-richtext-dom/editor
interface · packages/richtext-dom/src/editor.ts:346
interface EditorDrawing {
readonly rendering?: RichText.Rendering | undefined
readonly decorate?: Decorate | undefined
readonly placeholder?: string | undefined
readonly lineHint?: string | undefined
readonly nodes?: RichText.NodeRegistry | undefined
}How an attached editor draws: its rendering registry and what it draws over the document.
EditorDrawing.renderingproperty · packages/richtext-dom/src/editor.ts:347
readonly rendering?: RichText.Rendering | undefinedEditorDrawing.decorateproperty · packages/richtext-dom/src/editor.ts:348
readonly decorate?: Decorate | undefinedEditorDrawing.placeholderproperty · packages/richtext-dom/src/editor.ts:350
readonly placeholder?: string | undefinedWhat a blank document shows.
EditorDrawing.lineHintproperty · packages/richtext-dom/src/editor.ts:352
readonly lineHint?: string | undefinedWhat the empty paragraph the caret is in shows.
EditorDrawing.nodesproperty · packages/richtext-dom/src/editor.ts:354
readonly nodes?: RichText.NodeRegistry | undefinedThe node vocabulary, which says where Tab means something (RichText.takesTab).