Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for API formatWithContentModel

Hierarchy

  • FormatContentModelOptions

Index

Properties

Optional apiName

apiName: string

Name of the format API

Optional changeSource

changeSource: string

Change source used for triggering a ContentChanged event. @default ChangeSource.Format.

Optional getChangeData

getChangeData: () => any

Type declaration

    • (): any
    • Optional callback to get an object used for change data in ContentChangedEvent

      Returns any

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 rawEvent

rawEvent: Event

Raw event object that triggers this call

Optional scrollCaretIntoView

scrollCaretIntoView: boolean

When pass to true, scroll the editing caret into view after write DOM tree if need

Optional selectionOverride

selectionOverride: DOMSelection

When specified, use this selection range to override current selection inside editor

Generated using TypeDoc