CKEDITOR.editor.commands.paste
class
Filtering
Methods
-
exec( editor, data )
private
The default implementation of the paste command.
Parameters
editor : editor
An instance of the editor where the command is being executed.
data : Object | String
If
data
is a string, then it is considered content that is being pasted. Otherwise it is treated as an object with options.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
[ type ] : String
The type of pasted content. There are two allowed values: * 'html' * 'text'
Defaults to
'html'
dataValue : String | Object
Content being pasted. If this parameter is an object, it is supposed to be a
data
property of the CKEDITOR.editor.paste event.dataTransfer : dataTransfer
Data transfer instance connected with the current paste action.