How to get toggle-inline-formatting-element

Depend on fontoxml-families to make this operation available.

Marks or unmarks a word or phrase with the given inline formatting, identified with data.nodeName.

Imported operation data

Name Type Description
nodeName String

The name of the node to be toggled.

attributes Object<string, (string|null)>

(Optional) The new attributes of the node. Pass null as a value to remove the attribute.

  Default value
[model] Object

(Optional) The model to be bound to the stencil after insertion.

[overrideRange] OverrideRange

The range to operate on instead of the selectionRange

Was this page helpful?