Aligned elements do not get serialized to HTML correctly with serializeHTMLFromNodes
#389
-
CSB - https://codesandbox.io/s/slate-slate-plugins-oymu3?file=/src/App.tsx I am using Is there a way to pass a custom serializer? Expectations: Same for deserializing. you can try pasting html that has aligned elements. I used gmail to make some html. - https://slate-plugins-next.netlify.app/?path=/story/deserializers-html--example |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Plugins have a |
Beta Was this translation helpful? Give feedback.
Plugins have a
deserialize
option, you can try to use it. No change is needed in the serializer as it depends on the plugins (deserializers).