Force Past as Plain Text

toolbars.toolbar-1.force-paste-as-plain-text

Property NameTypeDefault

toolbars.toolbar-1.force-paste-as-plain-text

bool

false

For certain cases, you may want to paste content from your clipboard as plain text, stripping away any HTML tags.

By default, when pasting content into the editor, CKEditor will try to maintain the original content’s structure and keep the HTML in a safe way. However, if you’d prefer to paste content without any formatting and only as plain text, you can set toolbars.toolbar-1.force-paste-as-plain-text to true in the configuration.

This feature has been available since v7.5.0

Last updated