Search results

PasteSettingsModel API in React Blockeditor API component

Interface for a class PasteSettings

Properties

allowedStyles

string[]

Specifies the allowed styles when pasting content. This property holds an array of styles that can be applied to pasted content.

deniedTags

string[]

Specifies the tags that are denied when pasting content. This property holds an array of tags that should be removed from pasted content.

keepFormat

boolean

Specifies whether to keep the formatting of pasted content. This property determines if the formatting (e.g., bold, italics) should be preserved.

plainText

boolean

Specifies whether to paste as plain text. This property removes any formatting from the pasted content and pastes only the raw text.