I need some help, I want to know how can I preserve the styles I write inside addNodeVIew?. Please let me know. Also let me know if there is any better approach for the same. #5601
Unanswered
Rohan-FE-Solytics
asked this question in
Questions & Help
Replies: 1 comment
-
I think you can add unique class name for the dom and only save the class, styles are stored in edtior view |
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
-
`addNodeView() {
return ({ editor, node: nodeViewNode, getPos }) => {
let tempNoders = nodeViewNode;
// const cellMinWidth = 150;
const dom = document.createElement('div');
},`
I want to save the styles mentioned here when I setContent as html. Thanks
Beta Was this translation helpful? Give feedback.
All reactions