Feature Request: allow properties in getHTML
-> renderHTML
#5942
bernaferrari
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I have a tiptap editor with a "click to export" that renders the HTML. I can't get dropcursor to work with
addNodeView
, only withrenderHTML
, but in certain situations I want, for example, to have an user-editable link in an image, to be rendered as<a><img/></a>
but I don't want that behavior in the editor. Since I loose dropcursor on addNodeView (not sure there is a way against that), the easiest would be having an options/data record parameter in getHTML that is applied in every renderHTML so that I can pass "thisIsExporting" and enable links. Am I clear?Use Case
...
Type
New feature
Beta Was this translation helpful? Give feedback.
All reactions