Interface: FromHTMLOptions
Options for fromHTML().
Properties
| Property | Type | Description |
|---|---|---|
document? | Document | A Document to parse with. Defaults to the global document, so this is only needed outside the browser, e.g. in Node with linkedom or jsdom: fromHTML(html, { extensions, document: parseHTML('').document }). |
extensions | readonly Extension[] | The same extensions the editor uses. |