Ticket #5182: 5182.patch
File 5182.patch, 1.5 KB (added by , 15 years ago) |
---|
-
_source/plugins/menubutton/plugin.js
35 35 var menu = _.menu; 36 36 if ( !menu ) 37 37 { 38 menu = _.menu = new CKEDITOR.plugins.contextMenu( editor ); 38 menu = _.menu = new CKEDITOR.plugins.contextMenu( editor, 39 { 40 panel: 41 { 42 className : editor.skinClass + ' cke_contextmenu', 43 attributes : 44 { 45 'aria-label' : editor.lang.common.options 46 } 47 } 48 }); 39 49 40 50 menu.onHide = CKEDITOR.tools.bind( function() 41 51 { -
_source/plugins/contextmenu/plugin.js
23 23 24 24 CKEDITOR.plugins.contextMenu = CKEDITOR.tools.createClass( 25 25 { 26 $ : function( editor )26 $ : function( editor, definiton ) 27 27 { 28 28 this.id = 'cke_' + CKEDITOR.tools.getNextNumber(); 29 29 this.editor = editor; … … 36 36 }, 37 37 this); 38 38 39 this._.definiton = 39 this._.definiton = definiton || 40 40 { 41 41 panel: 42 42 { 43 43 className : editor.skinClass + ' cke_contextmenu', 44 44 attributes : 45 45 { 46 'aria-label' : editor.lang.co mmon.options46 'aria-label' : editor.lang.contextmenu.options 47 47 } 48 48 } 49 49 };