@richkitjs/html
v0.1.0
Published
HTML serialization and parsing for @richkitjs/core
Maintainers
Readme
@richkitjs/html
HTML serialization helpers for @richkitjs/core. Re-exports htmlToDoc and docToHtml for standalone use (e.g. server-side rendering of stored documents).
Install
npm install @richkitjs/html @richkitjs/coreUsage
import { htmlToDoc, docToHtml } from '@richkitjs/html'
const html = docToHtml(editor.state.doc)Docs
See the repository for full documentation.
