Ticket #3099: 3099.patch
File 3099.patch, 1.1 KB (added by , 15 years ago) |
---|
-
_source/plugins/button/plugin.js
57 57 58 58 this.className = definition.className || ( definition.command && 'cke_button_' + definition.command ) || ''; 59 59 60 this.icon = definition.icon; 61 60 62 /** 61 63 * The function to be called when the user clicks the button. If not 62 64 * defined, the "command" property is required, and the command gets … … 175 177 ' onkeydown="return CKEDITOR.ui.button._.keydown(', index, ', event);"' + 176 178 ' onfocus="return CKEDITOR.ui.button._.focus(', index, ', event);"' + 177 179 ' onclick="return CKEDITOR.ui.button._.click(', index, ', event);">' + 178 '<span class="cke_icon"></span>' + 180 '<span class="cke_icon"' ); 181 182 if ( this.icon ) 183 output.push( ' style="background-image:url(', CKEDITOR.getUrl( this.icon ), ');background-position:0 0;"' ); 184 185 output.push( 186 '></span>' + 179 187 '<span class="cke_label">', this.label, '</span>' + 180 188 '</a>' ); 181 189