X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fcolorbutton%2Fplugin.js;h=04522306a7b62386724865180e4882aaa094d59f;hp=305c44d0fddb999222f3a1a931c7a681f3a01ced;hb=039a051ccf3901311661022a30afd60fc38130c9;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7 diff --git a/_source/plugins/colorbutton/plugin.js b/_source/plugins/colorbutton/plugin.js index 305c44d..0452230 100644 --- a/_source/plugins/colorbutton/plugin.js +++ b/_source/plugins/colorbutton/plugin.js @@ -161,7 +161,7 @@ CKEDITOR.plugins.add( 'colorbutton', } // Render the "More Colors" button. - if ( config.colorButton_enableMore ) + if ( config.colorButton_enableMore === undefined || config.colorButton_enableMore ) { output.push( '' + @@ -174,7 +174,7 @@ CKEDITOR.plugins.add( 'colorbutton', ' role="option" aria-posinset="', total, '" aria-setsize="', total, '">', lang.more, '' + - '' ); // It is later in the code. + '' ); // tr is later in the code. } output.push( '' ); @@ -186,12 +186,11 @@ CKEDITOR.plugins.add( 'colorbutton', /** * Whether to enable the "More Colors..." button in the color selectors. - * @default false + * @default true * @type Boolean * @example * config.colorButton_enableMore = false; */ -CKEDITOR.config.colorButton_enableMore = true; /** * Defines the colors to be displayed in the color selectors. It's a string