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
I'm encountering an issue with the deserializeHtml function in Plate.js where the start attribute of
elements is being ignored during deserialization. As a result, all ordered lists default to starting at 1 when I load the content into the editor, even if they are supposed to start at a different number.
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
-
I'm encountering an issue with the deserializeHtml function in Plate.js where the start attribute of
elements is being ignored during deserialization. As a result, all ordered lists default to starting at 1 when I load the content into the editor, even if they are supposed to start at a different number.- @udecode/plate: ^33.0.5
Library Version
and this is my plate plugins snippet
create ordred list
text nodes result after deserializeHtml
in my editor
In my opinion, it's caused by omitting the start attribute in the ordered list when deserializing.
how to fixed this issue?
Beta Was this translation helpful? Give feedback.
All reactions