Skip to content
Permalink
Browse files

Upper-cased Image2 and Language button names.

  • Loading branch information...
oleq committed Nov 22, 2013
1 parent 518b718 commit 076372c85b8ef283e90d0c02468d9fd37e61956b
Showing with 2 additions and 2 deletions.
  1. +1 −1 plugins/image2/plugin.js
  2. +1 −1 plugins/language/plugin.js
@@ -69,7 +69,7 @@
editor.widgets.add( 'image2', image2 );

// Add toolbar button for this plugin.
editor.ui.addButton && editor.ui.addButton( 'image2', {
editor.ui.addButton && editor.ui.addButton( 'Image2', {
label: editor.lang.common.image,
command: 'image2',
toolbar: 'insert,10'
@@ -94,7 +94,7 @@
editor.addMenuGroup( 'language_remove' ); // Group order is skipped intentionally, it will be placed at the end.
editor.addMenuItems( items );

editor.ui.add( 'language', CKEDITOR.UI_MENUBUTTON, {
editor.ui.add( 'Language', CKEDITOR.UI_MENUBUTTON, {
label: lang.button,
// MenuButtons do not (yet) has toFeature method, so we cannot do this:
// toFeature: function( editor ) { return editor.getCommand( 'language' ); }

0 comments on commit 076372c

Please sign in to comment.
You can’t perform that action at this time.