After migration into new Tiptap, it fails to read text styling from previous Tiptap #1919
-
Hello, I have unique problem where I set up new editor from new version of Tiptap. But when I use html string from output of previous Tiptap, it seems fail to maintain nested structure of this html and lose some of the styling value. For example,
But when I use that html and put it into new Tiptap using
The style All the nested style become inline style or merge (but with missing value) Here I create sandbox https://codesandbox.io/s/wandering-wood-etvm7?file=/src/components/HelloWorld.vue And here is more detail explanation about my problem. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
I have the same problem, hope to get help. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem. any workaround or fix? |
Beta Was this translation helpful? Give feedback.
-
same problem for me, do you have an alternative to keep this kind of span structure ?
But the lib by default transform it like this :
|
Beta Was this translation helpful? Give feedback.
-
yeah same issue, the problem is that tiptap doesn't support nested marks i believe |
Beta Was this translation helpful? Give feedback.
-
This is the same issue you described in #1815 I guess? Nicholas already talked about this currently being a Prosemirror limitation. I myself didn't look into this enough to see where exactly it is stripped so I can't really offer a solution right now, I just think we should move this over to #1815 to not have to many discussions with the same topic open. |
Beta Was this translation helpful? Give feedback.
This is the same issue you described in #1815 I guess? Nicholas already talked about this currently being a Prosemirror limitation. I myself didn't look into this enough to see where exactly it is stripped so I can't really offer a solution right now, I just think we should move this over to #1815 to not have to many discussions with the same topic open.