Is there any way to programmatically set the Markdown content in a NestedLexicalEditor #353
noteverseio
started this conversation in
General
Replies: 1 comment
-
|
I'm not sure if this will completely solve your case, but you can use the Accessing the Lexical instance of the nested editor is not exposed at the moment, but I see how this can be useful. In general, the |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hey dear authors, thanks for the recent updates of this awesome editor, I have a new use case where I need to programmatically update or insert Markdown content in a NestedLexicalEditor, e.g. via Directive block or JSX block. E.g I need to write a Directive block where there is a button in the directive block and when customer clicks the button I will render editable markdown content retrieved from a remote server into the NestedLexicalEditor of the current Directive block.
Not sure if I can implement such features based on NestedLexicalEditor, any guidance would be really appreciated, thanks for your guidance.
Beta Was this translation helpful? Give feedback.
All reactions