ClipboardInputTransformationEvent
typedef
Fired with the content, dataTransfer, method, and targetRanges properties:
- The
contentwhich comes from the clipboard (it was pasted or dropped) should be processed in order to be inserted into the editor. - The
dataTransferobject is available in case the transformation functions need access to the raw clipboard data. - The
methodindicates the original DOM event (for example'drop'or'paste'). - The
targetRangesproperty is an array of view ranges (it is available only for'drop').
It is a part of the clipboard input pipeline.
Note: You should not stop this event if you want to change the input data. You should modify the content property instead.