Skip to content
Discussion options

You must be logged in to vote

Well the LexicalComposer takes a config, that has a nodes parameter.
Nodes is supposed to be of type : KlassConstructor[]
so essentially you need to create an array of this type, and in it you place all of the nodes you want to register for this lexicalcomposer.

If you have copied the playground, I believe the file is called NodesArray.ts

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dataman-fan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants