Options
All
  • Public
  • Public/Protected
  • All
Menu

Options to specify how to merge models

Hierarchy

  • MergeModelOption

Index

Properties

Optional insertPosition

insertPosition: InsertPoint

Use this insert position to merge instead of querying selection from target model

default

undefined

Optional mergeFormat

mergeFormat: "none" | "mergeAll" | "keepSourceEmphasisFormat"

Use this to decide whether to change the source model format when doing the merge. 'mergeAll': segment format of the insert position will be merged into the content that is merged into current model. If the source model already has some format, it will not be overwritten. 'keepSourceEmphasisFormat': format of the insert position will be set into the content that is merged into current model. If the source model already has emphasis format, such as, fontWeight, Italic or underline different than the default style, it will not be overwritten. 'none' the source segment format will not be modified.

default

undefined

Optional mergeTable

mergeTable: boolean

When there is only a table to merge, whether merge this table into current table (if any), or just directly insert (nested table). This is usually used when paste table inside a table

default

false

Generated using TypeDoc