confluence:contextMenu to create inline comment


When using the confluence:contextMenu is it possible to somehow get the values for “textSelectionMatchCount” and “textSelectionMatchIndex” as required for creating an inline comment REST endpoint?
Alternatively, is there a way to also allow the contextmenu module to be usable in editor mode?

Btw I know you can create an inline comment natively but I have a different use case.

Thanks in advance!

Hi @rick.van.twillert ,

The context returned for Confluence content menu module only includes the selectedText, but it makes sense to also provide the index and length also as you suggest. Would you be able to create a suggestion in the Forge project please.


Done, thanks @dmorrow

1 Like