Explorar el Código

Image button in tinyMCE now displays an icon instead of text

Come hace 9 años
padre
commit
ce320c5efe
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      tracim/tracim/templates/pod.mak

+ 1 - 2
tracim/tracim/templates/pod.mak Ver fichero

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