slate-html-serializer
import Html from 'slate-html-serializer'Example
<p>The Slate editor gives you <em>complete</em> control over the logic you can add.</p>
<p>In its simplest form, when representing plain text, Slate is a glorified <code>«textarea»</code>. But you can augment it to be much more than that.</p>
<p>Check out <a href="http://slatejs.org">http://slatejs.org</a> for examples!</p>Properties
new Html({
rules: Array,
defaultBlock: String | Object | Block,
parseHtml: Function,
})rules
rulesdefaultBlock
defaultBlockparseHtml
parseHtmlMethods
Html.deserialize
Html.deserializeHtml.serialize
Html.serializeRules
rule.deserialize
rule.deserializerule.serialize
rule.serializeDefault Text Rule
Last updated