Skip to content

Interface: FromHTMLOptions ​

Options for fromHTML().

Properties ​

PropertyTypeDescription
document?DocumentA 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 }).
extensionsreadonly Extension[]The same extensions the editor uses.