Open BenoitPoulet opened 1 month ago
Hello and thanks for the report. Indeed, that is a side-effect of trying to override the default DokuWiki icons with something a bit more, well, stylish and easier to recognize. But unfortunately, the code that DokuWiki generates is a bit limiting and requires me to do all kinds of workarounds to get the right icon in the right place.
There are already a couple of "special cases" for plugins in the code. If you let me know which plugins you are using here, maybe I can add a few more.
Alternatively, you can use the userstyle.css
to add something in the style of:
#tool__bar #tbbtn_customplugin {
background-image: url('/custom/images/mypluginicon.svg');
}
to load your own custom icons here (the ID of the button, and the URL to the icon need to be adapted, of course.
Generally, if the plugin is well supported and others are using it (and would benefit from a specialized icon) I am happy to include it in the template code, if it is rather a fringe use-case, then the custom code is probably the better solution.
I have provided a pull request for the DokuWiki core that will change the way that these toolbar items can be addressed in the CSS. If this gets accepted, it should also allow to resolve this issue here.
Hello,
With you themes , in the editor, customs plugins show the same icon, difficult so see what are theses icons. Look at the right of the icons.
Regards.