Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for creating DomToModelContext, used by formatContentModel and createContentModel API

Hierarchy

Index

Properties

Optional additionalFormatParsers

additionalFormatParsers: Partial<FormatParsersPerCategory>

Provide additional format parsers for each format type

Optional formatParserOverride

formatParserOverride: Partial<FormatParsers>

Overrides default format handlers

Optional processNonVisibleElements

processNonVisibleElements: boolean

If true elements that has display:none style will be processed

Optional processorOverride

processorOverride: Partial<ElementProcessorMap>

Overrides default element processors

Optional recalculateTableSize

recalculateTableSize: boolean | "all" | "selected" | "none"

Whether recalculate table size when parse table 'all' or true means recalculate all tables in the model 'selected' means recalculate only selected tables in the model 'none' or false means do not recalculate any table in the model

When this option is passed, "tryGetFromCache" will be ignored.

Optional tryGetFromCache

tryGetFromCache: boolean

When set to true, it will try to reuse cached content model if any

Generated using TypeDoc