Enable getHTML to return plain text #4943
Unanswered
ropi-bc
asked this question in
Questions & Help
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an interactive node, that I want to user the
renderHTML
function for (because we use thegetHTML()
on the editor itself). My text looks like:Some text with some <node /> in the middle
. When I render it to HTML, I don't want to render the content of the node in its separate html node, but want it to be simply part of the text like this:Some text with some (node-content) in the middle
.When I return a simple string from the
renderHTML
function, I get some error from the editor, even though according to the type hint, I should be able to do it. Is there a way to do what I want to do?Thanks
Beta Was this translation helpful? Give feedback.
All reactions