PasteCleanupSettings

The settings passed to pasteCleanup function (see example).

attributes?

{[attributeName: string]: (attr: Attr) => void}

An object containing attributeName/callback pairs. The callback will be called for the corresponding attribute name and the attribute object will be passed as a parameter.

convertMsLists?

boolean

If set to true, converts the MS Word lists into HTML lists.

stripTags?

string

Removes the specified tags from the HTML and keeps its child nodes.

In this article

Not finding the help you need?