Options
All
  • Public
  • Public/Protected
  • All
Menu

An editor context interface used by ContentModel PAI

Hierarchy

Index

Properties

Optional addDelimiterForEntity

addDelimiterForEntity: boolean

Whether to handle delimiters in Content Model

Optional allowCacheElement

allowCacheElement: boolean

Whether put the source element into Content Model when possible. When pass true, this cached element will be used to create DOM tree back when convert Content Model to DOM

Optional darkColorHandler

darkColorHandler: DarkColorHandler

Color manager, to help manager color in dark mode

Optional defaultFormat

Default format of editor

Optional domIndexer

domIndexer: DomIndexer
optional

Indexer for content model, to help build backward relationship from DOM node to Content Model

Optional experimentalFeatures

experimentalFeatures: readonly string[]

Enabled experimental features

Optional isDarkMode

isDarkMode: boolean

Whether current content is in dark mode

Optional isRootRtl

isRootRtl: boolean

Whether the content is in Right-to-left from root level

Optional pendingFormat

pendingFormat: PendingFormat

Pending format if any

Optional rootFontSize

rootFontSize: number

Root Font size in Px.

Optional zoomScale

zoomScale: number

Zoom scale number

Generated using TypeDoc