Feature Request: Allow setting attributes on the ReactNodeViewRenderer node #6896
c-bbianchi
started this conversation in
Feature Requests
Replies: 1 comment
-
I'm currently working on a PR to implement this, but testing it properly has proven trickier than I expected |
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.
-
Description
I wish there was a way to set html attibutes on the dom element that is created when using a NodeViewContent.
It is a very similar issue to the one fixed here, but this applies to the internal DOM element that is created
Use Case
I want to use this feature to support using tailwind styles in my editor. Since tailwind is class-based, and I am unable to set classes on that DOM element specifically, some styling is impossible with just tailwind.
Type
Other
Beta Was this translation helpful? Give feedback.
All reactions