Options
All
  • Public
  • Public/Protected
  • All
Menu

Data of BeforePasteEvent

Hierarchy

Index

Properties

clipboardData

clipboardData: ClipboardData

An object contains all related data for pasting

fragment

fragment: DocumentFragment

HTML Document Fragment which will be inserted into content

htmlAfter

htmlAfter: string

Stripped HTML string after "EndFragment" comment

htmlAttributes

htmlAttributes: Record<string, string>

Attributes of the root "HTML" tag

htmlBefore

htmlBefore: string

Stripped HTML string before "StartFragment" comment

Readonly pasteType

Paste type option (as plain text, merge format, normal, as image)

sanitizingOption

sanitizingOption: Required<HtmlSanitizerOptions>

Html sanitizing options. This will be used for sanitizing the html content before paste

Generated using TypeDoc