Options
All
  • Public
  • Public/Protected
  • All
Menu

Provides a chance for plugin to change the content before it is copied from editor.

Hierarchy

Index

Properties

clonedRoot

clonedRoot: HTMLDivElement

An object contains all related data for pasting

Optional eventDataCache

eventDataCache: {}

An optional event cache. This will be consumed by event cache API to store some expensive calculation result. So that for the same event across plugins, the result doesn't need to be calculated again

Type declaration

  • [key: string]: any

eventType

eventType: BeforeCutCopy

Type of this event

isCut

isCut: boolean

Whether this is a cut event

range

range: Range

The selection range under cloned root

rawEvent

rawEvent: ClipboardEvent

Raw DOM event

Generated using TypeDoc