convert-to-list-macro

Type: Operation

Execute the macro to convert the current paragraph to a list.

This operation differs from convert-list in that this operation will not convert a list back to a paragaph.

This operation expects the selection to be inside a list item (configured using configureAsListElements), or to be across one or more paragraphs.

Imported operation data

  1. listNodeName

    (Required)

    Type: String

    The qualified name of the list element to create

  2. listAttributes

    (Optional)

    Type: Object

    Attributes to be set on the list

  3. listItemNodeName

    (Required)

    Type: String

    The qualified name of the list item elements to create

  4. paragraphSelector

    (Required)

    Type: XPathTest

    The selector for which nodes should be converted to list items