Options
All
  • Public
  • Public/Protected
  • All
Menu

The event to be triggered before SetContent API is called. Handle this event to cache anything you need from editor before it is gone.

Hierarchy

Index

Properties

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: BeforeSetContent

Type of this event

newContent

newContent: string

New content HTML that is about to set to editor

Generated using TypeDoc