Replies: 1 comment 2 replies
-
This article describes how DecoratorNode works. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
All the examples have decorate() return a JSX.Element. However, I cannot find where that is actually mounted into the DOM.
My understanding is the createDOM() HTMLElement will be inserted into the DOM, but I do not understand how the decorate() function interacts.
Specifically, I want to create a custom DecoratorNode and attach functionality you the mounted DOM node but without React, just Vanilla JS. Returning an HTMLElement from decorate() has no effect.
Any guidance appreciated.
Beta Was this translation helpful? Give feedback.
All reactions