Configures the paste cleanup settings of the RichTextEditor.
string[]
Specifies the allowed style properties when pasting in the 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’, ‘flex-direction’]
string[]
Specifies the attributes to restrict when pasting in the RichTextEditor.
Defaults to null
string[]
Specifies the tags to restrict when pasting in the RichTextEditor.
Defaults to null
boolean
Specifies whether to keep or remove formatting when pasting in the RichTextEditor.
Defaults to true
boolean
Specifies whether to paste as plain text or not in the RichTextEditor.
Defaults to false
boolean
Specifies whether to enable the prompt for paste in the RichTextEditor.
Defaults to false