Hi devs,
Context:
Here’s one usability feature I’d like to discuss: the ability, in view mode, to hover over a heading with the mouse and display an anchor icon, in order to get a link with an anchor or copy the anchor id in the clipboard (so that it can be pasted when editing a page and linking to some heading). Something similar to:
It’s also similar to the Lightbox app which does this for images: https://extensions.xwiki.org/xwiki/bin/view/Extension/Image%20Lightbox%20Application/
Note: one harder part is to support is that we would need to support also this construct:
{{id name="myid"/}}
== some heading ==
which would generate in HTML something like:
<div .../>
<h2>...</h2>
WDYT?
Thanks