Report an issue
Class

CKEDITOR.plugins.clipboard

classsingleton

Filtering

Properties

  • since 4.5.0 readonly

    isCustomCopyCutSupported : Boolean

    It returns true if the environment allows setting the data on copy or cut manually. This value is false in: * Internet Explorer — because this browser shows the security dialog window when the script tries to set clipboard data. * Older iOS (below version 13) — because custom data is not saved to clipboard there.

  • since 4.5.0 readonly

    isCustomDataTypesSupported : Boolean

    True if the environment supports MIME types and custom data types in dataTransfer/cliboardData getData/setData methods.

  • since 4.5.0 readonly

    isFileApiSupported : Boolean

    True if the environment supports File API.

  • since 4.5.0 readonly

    mainPasteEvent : String

    Main native paste event editable should listen to.

    Note: Safari does not like the CKEDITOR.editor.beforePaste event — it sometimes does not handle Ctrl+C properly. This is probably caused by some race condition between events. Chrome, Firefox and Edge work well with both events, so it is better to use CKEDITOR.editor.paste which will handle pasting from e.g. browsers' menu bars. IE7/8 does not like the CKEDITOR.editor.paste event for which it is throwing random errors.

  • since 4.5.0 private

    dragData : dataTransfer

    Global object storing the data transfer of the current drag and drop operation. Do not use it directly, use initDragDataTransfer and resetDragDataTransfer.

    Note: This object is global (meaning that it is not related to a single editor instance) in order to handle drag and drop from one editor into another.

  • since 4.5.0 private

    dragRange : range

    Range object to save the drag range and remove its content after the drop.

Methods