slate v0.21.0 Release Notes
Release Date: 2017-07-20 // almost 7 years ago-
BREAKING
📜 The
Html
serializer now usesDOMParser
instead ofcheerio
. Previously, theHtml
serializer used thecheerio
library for representing elements in the serialization rule logic, but cheerio was a very large dependency. It has been removed, and the native browserDOMParser
is now used instead. All HTML serialization rules will need to be updated. If you are working with Slate on the server, you can now pass in a custom serializer to theHtml
constructor, using theparse5
library.