ClipboardInputTransformationData
interface
The data of 'inputTransformation' event.
Properties
module:clipboard/clipboardpipeline~ClipboardInputTransformationData#contentThe 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#dataTransferThe data transfer instance.
method : 'drop' | 'paste'module:clipboard/clipboardpipeline~ClipboardInputTransformationData#methodWhether the event was triggered by a paste or a drop operation.
sourceEditorId : null | stringmodule:clipboard/clipboardpipeline~ClipboardInputTransformationData#sourceEditorIdID of the editor instance from which the content was copied.
targetRanges : null | Array<ViewRange>module:clipboard/clipboardpipeline~ClipboardInputTransformationData#targetRangesThe target drop ranges.