Replies: 1 comment 7 replies
-
You'll need to use the node replacement API to set the ParagraphNode to be your DivNode. https://lexical.dev/docs/concepts/node-replacement |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've tried creating a DivNode that inherits from ParagraphNode, but the default node seems to be P
Thanks for this great project :)
Beta Was this translation helpful? Give feedback.
All reactions