@rtecn/block-editor
Serialization format
How block editor content is serialized.
Serialization format
The block editor uses the same underlying Tiptap engine as the toolbar editor. The serialization format is identical, see the toolbar editor serialization format for the full reference.
Both editors support the same set of nodes and extensions. The embed nodes (YouTube, Twitter) are available from @rtecn/editor and can be used with either editor, see the full reference for the complete serialization format including embeds.
All serialization formats (HTML, JSON, plain text) and the API (getHTML(), getJSON(), getText()) work the same way regardless of which editor you use.