Javascript: TextPastedEventArgs.textType Property
Description
The MIME type of the text.
Syntax
<string> TextPastedEventArgs.textTypeExamples
The following example demonstrates TextPastedEventArgs.textType in a practical document-editing workflow. The MIME type of the text.
function inspectTextType(textPastedEventArgs) {
const textType = textPastedEventArgs.textType;
console.log("text type:", textType);
}