JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.2.2
[ckeditor.git] / _source / plugins / format / plugin.js
index b28e4c8..bb0d997 100644 (file)
@@ -21,20 +21,19 @@ CKEDITOR.plugins.add( 'format',
                {\r
                        var tag = tags[ i ];\r
                        styles[ tag ] = new CKEDITOR.style( config[ 'format_' + tag ] );\r
+                       styles[ tag ]._.enterMode = editor.config.enterMode;\r
                }\r
 \r
                editor.ui.addRichCombo( 'Format',\r
                        {\r
                                label : lang.label,\r
                                title : lang.panelTitle,\r
-                               voiceLabel : lang.voiceLabel,\r
                                className : 'cke_format',\r
-                               multiSelect : false,\r
-\r
                                panel :\r
                                {\r
                                        css : editor.skin.editor.css.concat( config.contentsCss ),\r
-                                       voiceLabel : lang.panelVoiceLabel\r
+                                       multiSelect : false,\r
+                                       attributes : { 'aria-label' : lang.panelTitle }\r
                                },\r
 \r
                                init : function()\r