Parcourir la source

Image button in tinyMCE now displays an icon instead of text

Come il y a 7 ans
Parent
révision
ce320c5efe
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      tracim/tracim/templates/pod.mak

+ 1 - 2
tracim/tracim/templates/pod.mak Voir le fichier

@@ -81,8 +81,7 @@
81 81
               //////////////////////////////////////////////
82 82
               // add custom btn to handle image by selecting them with system explorer
83 83
               $editor.addButton('customInsertImage', {
84
-                text: 'Image',
85
-                icon: false,
84
+                icon: 'mce-ico mce-i-image',
86 85
                 onclick: function () {
87 86
                   if ($('#hidden_tinymce_fileinput').length > 0) $('#hidden_tinymce_fileinput').remove()
88 87