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
{{ message }}
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.
The denormalization algorithm would be the "reverse" algorithm, it would remove the empty {text: ''} placeholders so that the JSON value is compressed before save. These placeholder nodes only make sense for SlateJS internals, they shouldn't have been exposed "to the world".
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I propose that we do a denormalization on save and a normalization on "load" of values. The normalization algoritm is the one in this function:
volto-slate/src/widgets/HtmlSlateWidget.jsx
Line 23 in 0a8f5fd
The denormalization algorithm would be the "reverse" algorithm, it would remove the empty {text: ''} placeholders so that the JSON value is compressed before save. These placeholder nodes only make sense for SlateJS internals, they shouldn't have been exposed "to the world".
The text was updated successfully, but these errors were encountered: