PasteCleanupSettingsModel

12 Sep 20251 minute to read

Interface for a class PasteCleanupSettings

Properties

allowedStyleProps string[]

Specifies the allowed style properties when pasting in the RichTextEditor.

deniedAttrs string[]

Specifies the attributes to restrict when pasting in the RichTextEditor.

deniedTags string[]

Specifies the tags to restrict when pasting in the RichTextEditor.

keepFormat boolean

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

plainText boolean

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

prompt boolean

Specifies whether to enable the prompt for paste in the RichTextEditor.