X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fformat%2Fplugin.js;h=bb0d997f75d63b7b476f6a7ae4b5ea8c78487335;hb=8665a7c6c60586526e32e8941fe2896739b6ebfb;hp=b28e4c832cae2669ef14ad3d83e88cc44354d3cc;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_source/plugins/format/plugin.js b/_source/plugins/format/plugin.js index b28e4c8..bb0d997 100644 --- a/_source/plugins/format/plugin.js +++ b/_source/plugins/format/plugin.js @@ -21,20 +21,19 @@ CKEDITOR.plugins.add( 'format', { var tag = tags[ i ]; styles[ tag ] = new CKEDITOR.style( config[ 'format_' + tag ] ); + styles[ tag ]._.enterMode = editor.config.enterMode; } editor.ui.addRichCombo( 'Format', { label : lang.label, title : lang.panelTitle, - voiceLabel : lang.voiceLabel, className : 'cke_format', - multiSelect : false, - panel : { css : editor.skin.editor.css.concat( config.contentsCss ), - voiceLabel : lang.panelVoiceLabel + multiSelect : false, + attributes : { 'aria-label' : lang.panelTitle } }, init : function()