Module: @lexical/headless
Functions
createHeadlessEditor
▸ createHeadlessEditor(editorConfig?
): LexicalEditor
Parameters
Name | Type |
---|---|
editorConfig? | Object |
editorConfig.editable? | boolean |
editorConfig.editorState? | EditorState |
editorConfig.namespace? | string |
editorConfig.nodes? | readonly Klass <LexicalNode >[] |
editorConfig.onError? | ErrorHandler |
editorConfig.parentEditor? | LexicalEditor |
editorConfig.theme? | EditorThemeClasses |
Returns
Defined in
lexical-headless/src/index.ts:22