Type: Operation

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

Imported operation data

  1. nodeName


    Type: String

    The name of the node to be toggled.

  2. attributes


    Type: Object<string, (string|null)>

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

  3. model


    Type: Object

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

  4. overrideRange


    The range to operate on instead of the selectionRange