I have an XWiki page, where I would like to include a jsTree object. The jsTree macro is loaded into the XWiki, and is is usable on the pages.
I have some nodes like:
* root 1
* root 2
** subnode text 1
** subnode text 2
Until this, it is working fine, and the jsTree shows the correct view.
I would like to have more links on the subnodes like:
** <a href="link1">subnode</a> <a href="">text 1</a>
With wiki code:
** {{box}}[[subnode>>TestPageFirst]] [[text>>TestPageSecond]]{{/box}}
I have also tested the span tag with onClick event, but that is also removed by jsTree.
** {{html}}<span onClick="location.href='[[TestPageFirst]]';">Subnode</span> <span onClick="location.href='[[TestPageSecond]]';">text 1</span>{{/html}}
My problem is that the jsTree script replaces the links from my text, and uses '#' instead of mine. How could I create more links on the nodes?