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
Hi everyone,
I'm using the HTML Serialize/Deserialize plate plugins. I'm interested in achieving the following, my img elements, have custom attributes, something like:
went through the documentation, but couldn't see a way I can override the img element serializer/deserializer with a custom method. I've built something that supports this in slate, but was wondering if I can leverage the plate plugin with just 1 override rather than reimplementing the entire html DOM tree serialize/deserialize. If this is possible does someone have an example I can check out?
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
-
Hi everyone,
I'm using the HTML Serialize/Deserialize plate plugins. I'm interested in achieving the following, my img elements, have custom attributes, something like:
went through the documentation, but couldn't see a way I can override the img element serializer/deserializer with a custom method. I've built something that supports this in slate, but was wondering if I can leverage the plate plugin with just 1 override rather than reimplementing the entire html DOM tree serialize/deserialize. If this is possible does someone have an example I can check out?
Thank you!
Keep up the great work!
Beta Was this translation helpful? Give feedback.
All reactions