ClipboardInputTransformationData
interface
The data of 'inputTransformation' event.
Properties
-
module:clipboard/clipboardpipeline~ClipboardInputTransformationData#content
The event data. The content to be inserted into the editor. It can be modified by event listeners. Read more about the clipboard pipelines in the clipboard deep-dive guide.
-
module:clipboard/clipboardpipeline~ClipboardInputTransformationData#dataTransfer
The data transfer instance.
-
method : 'drop' | 'paste'
module:clipboard/clipboardpipeline~ClipboardInputTransformationData#method
Whether the event was triggered by a paste or a drop operation.
-
sourceEditorId : null | string
module:clipboard/clipboardpipeline~ClipboardInputTransformationData#sourceEditorId
ID of the editor instance from which the content was copied.
-
targetRanges : null | Array<ViewRange>
module:clipboard/clipboardpipeline~ClipboardInputTransformationData#targetRanges
The target drop ranges.