Search results

PasteCleanupSettings API in Vue RichTextEditor API component

Configures the Paste Cleanup settings of the RichTextEditor.

Properties

allowedStyleProps

string[]

Specifies the allowed style properties when pasting in RichTextEditor.

Defaults to [‘background’, ‘background-color’, ‘border’, ‘border-bottom’, ‘border-left’, ‘border-radius’, ‘border-right’, ‘border-style’, ‘border-top’, ‘border-width’, ‘clear’, ‘color’, ‘cursor’, ‘direction’, ‘display’, ‘float’, ‘font’, ‘font-family’, ‘font-size’, ‘font-weight’, ‘font-style’, ‘height’, ‘left’, ‘line-height’, ‘list-style-type’, ‘margin’, ‘margin-top’, ‘margin-left’, ‘margin-right’, ‘margin-bottom’, ‘max-height’, ‘max-width’, ‘min-height’, ‘min-width’, ‘overflow’, ‘overflow-x’, ‘overflow-y’, ‘padding’, ‘padding-bottom’, ‘padding-left’, ‘padding-right’, ‘padding-top’, ‘position’, ‘right’, ‘table-layout’, ‘text-align’, ‘text-decoration’, ‘text-transform’, ‘text-indent’, ‘top’, ‘vertical-align’, ‘visibility’, ‘white-space’, ‘width’]

deniedAttrs

string[]

Specifies the attributes to restrict when pasting in RichTextEditor.

Defaults to null

deniedTags

string[]

Specifies the tags to restrict when pasting in RichTextEditor.

Defaults to null

keepFormat

boolean

Specifies whether to keep or remove the format when pasting in RichTextEditor.

Defaults to true

plainText

boolean

Specifies whether to paste as plain text or not in RichTextEditor.

Defaults to false

prompt

boolean

Specifies whether to enable the prompt for paste in RichTextEditor.

Defaults to false