in various situations it seems there is a misalignment between:
- the element type selected at the caret (and indicated on the top left of the Author view, see ref highlight below)
- the element type detected by the Activation XPpath of a custom Action
For instance in both examples below, with or without the xref end flag selected, a xref element is detected at the caret in the Author view, (see red higlights below), however, in the second case it seems a custom Action defined with an Activation Xpath = self::xref is NOT activated while it IS activated in the first example.
There are other situations, including in Author view with NO tags, where there seem to be also a discrepancy between the element type detected at the caret in Author view and the element type detected by the Activation XPpath of a custom Action, for instance depending if the cursor is placed before or after an element.