Report an issue
Class

CKEDITOR.editor.commands.pastetext

class

Filtering

Methods

  • private

    exec( editor, [ data ] )

    The Paste as plain text command. It will determine its pasted text automatically if possible.

    At the time of writing it was working correctly only in Internet Explorer browsers, due to their paste support in document.execCommand.

    Parameters

    editor : editor

    An instance of the editor where the command is being executed.

    [ data ] : Object

    The options object.

    Properties
    [ notification ] : Boolean | String

    Content for a notification shown after an unsuccessful paste attempt. If false, the notification will not be displayed. This parameter was added in 4.7.0.

    Defaults to true