adding a menu spearator to the contextual menu via JS
Posted: Sun May 22, 2022 2:25 pm
Hi,
I have used https://github.com/oxygenxml/wsaccess-j ... sAccess.js from wsaccess-javascript-sample-plugins as a model for adding actions to the contextual menu in Author View.
Everything works as expected. I would like to implement two improvements:
1. add an icon to each menu item that I'm creating; and
2. add a menu separator above
Does anybody have a handy example to share?
Many thanks in advance.
All best,
Toma
I have used https://github.com/oxygenxml/wsaccess-j ... sAccess.js from wsaccess-javascript-sample-plugins as a model for adding actions to the contextual menu in Author View.
Everything works as expected. I would like to implement two improvements:
1. add an icon to each menu item that I'm creating; and
2. add a menu separator above
Does anybody have a handy example to share?
Many thanks in advance.
All best,
Toma