You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some dokuwiki releases resize icons to 16×16 size. Just comment the width resizing in /lib/scripts/edit.js (around line 40)
...
// create the icon and add it to the button
$ico.attr('src', icon);
//Disable resizing icons
// $ico.attr('width', 16);
$ico.attr('height', 16);
$btn.append($ico);
...
If you use a dokuwiki template (like vector for example) including “user.js” file, copy the function who manages toolbar button from “edit.js” dokuwiki file and disable icon localy in the user.js file. Do not forget to activate the template option “user-script overwrite”.
The text was updated successfully, but these errors were encountered:
- height of text image generator to 16px makes it a bit sharper
- FixesConX#26 by setting width of img to auto to prevent cutting of the
image
- calculating the text width before creating the image to remove the
too wide margins
Reported on dokuwiki.org:
Some dokuwiki releases resize icons to 16×16 size. Just comment the width resizing in /lib/scripts/edit.js (around line 40)
If you use a dokuwiki template (like vector for example) including “user.js” file, copy the function who manages toolbar button from “edit.js” dokuwiki file and disable icon localy in the user.js file. Do not forget to activate the template option “user-script overwrite”.
The text was updated successfully, but these errors were encountered: