content-quality-get-node-id-and-range

Type: Operation

Gets the node ID and range needed for resolving annotations.

Imported operation data

  1. annotationId

    The identifier of the annotation for which to get the node ID and range.

Exported operation data

  1. contentQualityAnnotationNodeId

    Type: NodeId

    The nodeId of the node which is or contains the annotation range. If the annotation is a whole node, the node's nodeId is used, otherwise the range's commonAncestorContainer nodeId is used.

  2. contentQualityAnnotationRange

    The range of the annotation.