Skip to main content

HTML

Installation#

npm install @udecode/plate-html-serializer

Usage#

Serializer#

Use serializeHTMLFromNodes:

Live Editor
Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^

Deserializer#

Live Editor
Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^

Source Code#