Feature Request: I can not update redirect node attribute when renderHTML in create note. #5392
HocNguyenInnomize
started this conversation in
Feature Requests
Replies: 1 comment 2 replies
-
I would not recommend changing the styles of already existing node (as in adding new CSS after page load for this). The recommended approach would be to use CSS classnames to change the styling of things. It is pretty difficult to know what you are talking about though, could I see some code/design of what you are trying to accomplish? |
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
-
Description
I use TipTap to create a node with global styles. After creating it and adding various marks, I want to change the styles of the already created nodes. However, I haven’t found a solution to add CSS styles to these nodes. Could you please guide me on how to resolve this issue? (I have used setNodeMarkup and setNodeAttribute, but still cannot add the necessary attribute options to these nodes.)
Use Case
I use TipTap to create a node with global styles. After creating it and adding various marks, I want to change the styles of the already created nodes. However, I haven’t found a solution to add CSS styles to these nodes. Could you please guide me on how to resolve this issue? (I have used setNodeMarkup and setNodeAttribute, but still cannot add the necessary attribute options to these nodes.)
Type
New extension
Beta Was this translation helpful? Give feedback.
All reactions