parseContent

Creates a ProseMirrorNode from the given HTML content.

Parameters

content

string

The new HTML content.
schema

Schema<any>

The document schema.
parseOptions?

ParseOptions

ProseMirror parse options recognized by the `parse` and `parseSlice` methods.

Returns

Node

- New ProseMirrorNode instance.

In this article

Not finding the help you need?