Skip to content

Interface: ToHTMLOptions ​

Options for toHTML().

Properties ​

PropertyTypeDescription
extensionsreadonly Extension[]The same extensions the editor uses.
urls?{ protocols?: readonly string[]; }Allowed protocols for href/src. Default: http, https, mailto, tel.
urls.protocols?readonly string[]Allowed URL protocols, without the colon.