Options
All
  • Public
  • Public/Protected
  • All
Menu

Context of Model to DOM conversion, used for generate HTML DOM tree 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

Optional darkColorHandler

darkColorHandler: DarkColorHandler

Color manager, to help manager color in dark mode

Optional defaultFormat

Default format of editor

defaultFormatAppliers

defaultFormatAppliers: Readonly<FormatAppliers>

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

defaultModelHandlers

defaultModelHandlers: Readonly<ContentModelHandlerMap>

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

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

formatAppliers

Map of format appliers

Optional imageSelection

imageSelection: ImageSelection

Image selection info

implicitFormat

Existing format implicitly applied from parent element

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

listFormat

Context for list handling

metadataAppliers

metadataAppliers: MetadataAppliers

Map of metadata appliers

modelHandlers

modelHandlers: ContentModelHandlerMap

Map of Content Model handlers

Optional onNodeCreated

onNodeCreated: OnNodeCreated

An optional callback that will be called when a DOM node is created

param

The related Content Model element

param

The node created for this model element

Optional pendingFormat

pendingFormat: PendingFormat

Pending format if any

regularSelection

regularSelection: ModelToDomRegularSelection

Regular selection info

Optional rootFontSize

rootFontSize: number

Root Font size in Px.

Optional tableSelection

tableSelection: TableSelection

Table selection info

Optional zoomScale

zoomScale: number

Zoom scale number

Generated using TypeDoc