Search results

FormatPainterSettings API in JavaScript (ES5) RichTextEditor API control

Configure the format painter settings of the Rich Text Editor.

Properties

allowedContext

FormatPainterContext[]

Defines the context or contexts in which styles will be copied.

Defaults to [‘Text’, ‘List’, ‘Table’]

allowedFormats

string

Defines the tag name selectors for obtaining the formats from the elements.

Defaults to ‘b; em; font; sub; sup; kbd; i; s; u; code; strong; span; p; div; h1; h2; h3; h4; h5; h6; blockquote; table; thead; tbody; tr; td; th; ol; ul; li; pre;’

deniedFormats

string

Defines selectors for the elements from which fetching formats is expressly prohibited.

Defaults to null