Options
All
  • Public
  • Public/Protected
  • All
Menu

A serializable snapshot of editor content, including the html content and metadata

Hierarchy

  • Snapshot

Index

Properties

Optional entityStates

entityStates: EntityState[]

Entity states related to this undo snapshots. When undo/redo to this snapshot, each entity state will trigger an EntityOperation event with operation = EntityOperation.UpdateEntityState

html

html: string

HTML content string

knownColors

knownColors: Readonly<ModeIndependentColor>[]

Known colors for dark mode

metadata

metadata: ContentMetadata

Metadata of the editor content state

Generated using TypeDoc