TextPastedEventArgs Object
Description
The event argument object for the textPasted event.
Syntax
{
cancel: <boolean>,
text: <string>,
textType: <string>
}Examples
The following example demonstrates TextPastedEventArgs in a practical document-editing workflow. The event argument object for the textPasted event.
function handleTextPasted(args) {
console.log("cancel:", args.cancel);
console.log("text:", args.text);
console.log("text type:", args.textType);
}