Ticket #4498: 4498.patch
File 4498.patch, 2.2 KB (added by , 14 years ago) |
---|
-
_source/plugins/toolbar/plugin.js
113 113 editor.toolbox = new toolbox(); 114 114 115 115 var output = [ '<div class="cke_toolbox"' ], 116 expanded = editor.config.toolbarStartupExpanded ,116 expanded = editor.config.toolbarStartupExpanded !== false, 117 117 groupStarted; 118 118 119 119 output.push( expanded ? '>' : ' style="display:none">' ); … … 252 252 { 253 253 toolbox.hide(); 254 254 collapser.addClass( 'cke_toolbox_collapser_min' ); 255 collapser.setAttribute( 'title', editor.lang.toolbarExpand ); 255 256 } 256 257 else 257 258 { 258 259 toolbox.show(); 259 260 collapser.removeClass( 'cke_toolbox_collapser_min' ); 261 collapser.setAttribute( 'title', editor.lang.toolbarCollapse ); 260 262 } 261 263 262 264 var dy = toolboxContainer.$.offsetHeight - previousHeight; … … 266 268 modes : { wysiwyg : 1, source : 1 } 267 269 } ); 268 270 269 output.push( '<a id="' + collapserId + '" class="cke_toolbox_collapser' ); 271 output.push( '<a title="' + ( expanded ? editor.lang.toolbarCollapse : editor.lang.toolbarExpand ) 272 + '" id="' + collapserId + '" class="cke_toolbox_collapser' ); 270 273 271 274 if ( !expanded ) 272 275 output.push( ' cke_toolbox_collapser_min' ); … … 404 407 405 408 /** 406 409 * Whether the toolbar must start expanded when the editor is loaded. 410 * @name CKEDITOR.config.toolbarStartupExpanded 407 411 * @type Boolean 408 412 * @default true 409 413 * @example 410 414 * config.toolbarStartupExpanded = false; 411 415 */ 412 CKEDITOR.config.toolbarStartupExpanded = true; 416 -
_source/lang/en.js
681 681 highlight : 'Highlight', 682 682 selected : 'Selected', 683 683 clear : 'Clear' 684 } 684 }, 685 686 toolbarCollapse : 'Collapse Toolbar', 687 toolbarExpand : 'Expand Toolbar' 685 688 };