In a Confluence plugin, text can be selected and subsequently processed via the callbacks provided by Confluence.HighlightAction.
Is there a way of identifying the corresponding part of the storage XML from the (browser DOM related) selection object provided as an argument to the callbacks?
(Without having to manually compare the two trees.)
Thanks.