Hi Devs, Hi Marius,
Could you give me some clues how to generate and save a page url that could
locate to the position of a certain title/section of the article within the
WYSIWYG editor, for example like this url,
http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsin…,
click this link it will bring me to "Access objects in a page" subtitle.
What I want to achieve is that in the WYSIWYG editor after I highlighted a
sentence and clicked the Requirement tree node, it will highlight the
background of the text and generate a link to the highlighted text, so this
generated link could bring designer/system maintainer to the context of the
document.
Could you point me to the place of your WYSIWYG editor source code that I
need to add/change? Do you know how can I get the value of the selected
text, should I directly right javascript or should I modify your WYSIWYG
source code?
Thank you so much! Have a nice new week!
Jue Wang (Leon)