node extension and parseHTML and renderHTML #6746
Unanswered
silenius
asked this question in
Questions & Help
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a custom Node with the following:
It works well, but every node matched in parseHTML() is rendered with a "section" tag (wether it is a
<div>
or a<section>
or ...). I was wondering how could I render the matched tag from parseHTML() ?For example with
<div class="flex">...</div>
it should render<div class="flex">...</div>
and not<section class="flex">...</section>
Any idea how to achieve that ?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions