Options
All
  • Public
  • Public/Protected
  • All
Menu

Context of DOM to Model conversion, used for parse HTML element according to current context

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

blockDecorator

Context for paragraph decorator

blockFormat

Format of current block

code

Context of code info

Optional darkColorHandler

darkColorHandler: DarkColorHandler

Color manager, to help manager color in dark mode

defaultElementProcessors

defaultElementProcessors: Readonly<ElementProcessorMap>

Default DOM to Content Model processors before overriding. This provides a way to call original processor from an overridden processor function

Optional defaultFormat

Default format of editor

defaultFormatParsers

defaultFormatParsers: Readonly<FormatParsers>

Default format parsers before overriding. This provides a way to call original format parser from an overridden parser function

Optional domIndexer

domIndexer: DomIndexer
optional

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

elementProcessors

elementProcessors: ElementProcessorMap

Map of element processors

formatParsers

Map of format parsers

Optional isDarkMode

isDarkMode: boolean

Whether current content is in dark mode

Optional isInSelection

isInSelection: boolean

Is current context under a selection

Optional isRootRtl

isRootRtl: boolean

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

link

Context of hyper link info

listFormat

Context of list that is currently processing

Optional pendingFormat

pendingFormat: PendingFormat

Pending format if any

Optional rootFontSize

rootFontSize: number

Root Font size in Px.

segmentFormat

Format of current segment

Optional selection

selection: DOMSelection

Current selection range

Optional zoomScale

zoomScale: number

Zoom scale number

Generated using TypeDoc