Skip to content

Commit d611449

Browse files
committed
fix: export nested lexical children cell
Nested lexical editors now need to register explicitly things like lists, links, etc.
1 parent abaad9c commit d611449

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/plugins/core/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,10 @@ export const editorWrappers$ = Cell<React.ComponentType<{ children: React.ReactN
724724
*/
725725
export const addEditorWrapper$ = Appender(editorWrappers$)
726726

727-
/** @internal */
727+
/**
728+
* React Components registered to be rendered inside `LexicalNestedComposer`. Useful if you're using lexical editor plugins that are wrapped as react components.
729+
* @group Core
730+
*/
728731
export const nestedEditorChildren$ = Cell<React.ComponentType[]>([])
729732

730733
/**

0 commit comments

Comments
 (0)