Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for Content Model

Hierarchy

Index

Properties

Optional defaultDomToModelOptions

defaultDomToModelOptions: DomToModelOption

Default options used for DOM to Content Model conversion

Optional defaultModelToDomOptions

defaultModelToDomOptions: ModelToDomOption

Default options used for Content Model to DOM conversion

Optional defaultSegmentFormat

defaultSegmentFormat: ContentModelSegmentFormat

Default format of editor content. This will be applied to empty content. If there is already content inside editor, format of existing content will not be changed. Default value is the computed style of editor content DIV

Optional disableCache

disableCache: boolean
deprecated

Optional onFixUpModel

onFixUpModel: (model: ReadonlyContentModelDocument) => void

Type declaration

    • An optional callback function that will be invoked before write content model back to editor. This is used for make sure model can satisfy some customized requirement

      Parameters

      Returns void

Generated using TypeDoc