You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article uses the translation
Serialization and deserialization, I need deserialization more.
I searched for many questions, all of which were long-standing questions. My website may have Markdown articles,HTML or JSON articles, and then save them in the database as a slate JSON value. (I don't want to copy and paste one article after another)
In #781 (reply in thread), it is not recommended to use deserializer to set the slate initial value. This is the answer in 2021. I wonder if it is stable now.
I used Google Translate on https://platejs.org/docs/serializing-md, which led me to think Convert Markdown content to Slate values. It is support, but later it was discovered that it was copy-paste!!!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Serialization and deserialization, I need deserialization more.
I searched for many questions, all of which were long-standing questions. My website may have
Markdown
articles,HTML
orJSON
articles, and then save them in the database as aslate JSON
value. (I don't want to copy and paste one article after another)In #781 (reply in thread), it is not recommended to use deserializer to set the slate initial value. This is the answer in 2021. I wonder if it is stable now.
I used Google Translate on
https://platejs.org/docs/serializing-md
, which led me to thinkConvert Markdown content to Slate values.
It is support, but later it was discovered that it wascopy-paste
!!!Beta Was this translation helpful? Give feedback.
All reactions