toggle-inline-formatting-element
Type: Operation
Marks or unmarks a word or phrase with the given inline formatting, identified with data.nodeName.
Imported operation data
node
Name (Required)
Type: String
The name of the node to be toggled.
attributes
(Required)
Type: Object<string, (string|null)>
(Optional) The new attributes of the node. Pass null as a value to remove the attribute.
Default value
Type: Object
JSON
{}
[model]
(Required)
Type: Object
(Optional) The model to be bound to the stencil after insertion.
[override
Range] (Required)
Type: OverrideRange
The range to operate on instead of the selectionRange