deserializeHtml lose code language #3393
Unanswered
goodchengwang
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I don't think the HTML spec supports adding a language to HTML is a lossy format for storing Plate documents. You should store the editor value as JSON instead. |
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
-
When I use deserializeHtml to convert html to json, everything works fine, but the language of the code is lost, causing the code to be incorrectly styled.
Can anyone help me? thanks
Beta Was this translation helpful? Give feedback.
All reactions