requireSelectionCollapsed

Type: Action step

Set the enabled state of an operation depending on whether the current selection is collapsed. A collapsed selection is a selection with the start position being the exact same as the end position.

Imported operation data

  1. isCollapsed

    Type: Boolean

    State to compare the selection collapsed state with. If true, the operation will be enabled if the selection is collapsed. If false, the operation will be enabled if the selection is not collapsed.

    Default value