]> git.immae.eu Git - perso/Immae/Projets/packagist/ludivine-ckeditor-component.git/blobdiff - sources/plugins/toolbar/plugin.js
Update to 4.7.3
[perso/Immae/Projets/packagist/ludivine-ckeditor-component.git] / sources / plugins / toolbar / plugin.js
index b267b51da76293d0fe71c168d0deb72aa0045b5a..fc19359ecb8312162b8bd5349507c3092084159a 100644 (file)
@@ -34,7 +34,7 @@
                                if ( editor.toolbox ) {\r
                                        editor.toolbox.focusCommandExecuted = true;\r
 \r
-                                       // Make the first button focus accessible for IE. (#3417)\r
+                                       // Make the first button focus accessible for IE. (http://dev.ckeditor.com/ticket/3417)\r
                                        // Adobe AIR instead need while of delay.\r
                                        if ( CKEDITOR.env.ie || CKEDITOR.env.air ) {\r
                                                setTimeout( function() {\r
@@ -51,7 +51,7 @@
        CKEDITOR.plugins.add( 'toolbar', {\r
                requires: 'button',\r
                // jscs:disable maximumLineLength\r
-               lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%\r
+               lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%\r
                // jscs:enable maximumLineLength\r
 \r
                init: function( editor ) {\r
                                                        return false;\r
                                                case 40: // DOWN-ARROW\r
                                                        if ( item.button && item.button.hasArrow ) {\r
-                                                               // Note: code is duplicated in plugins\richcombo\plugin.js in keyDownFn().\r
-                                                               editor.once( 'panelShow', function( evt ) {\r
-                                                                       evt.data._.panel._.currentBlock.onKeyDown( 40 );\r
-                                                               } );\r
                                                                item.execute();\r
                                                        } else {\r
                                                                // Send left arrow key.\r
                                        // available because it's a common mistake to leave\r
                                        // an extra comma in the toolbar definition\r
                                        // settings, which leads on the editor not loading\r
-                                       // at all in IE. (#3983)\r
+                                       // at all in IE. (http://dev.ckeditor.com/ticket/3983)\r
                                        if ( !row )\r
                                                continue;\r
 \r
                                                                itemObj.toolbar = toolbarObj;\r
                                                                itemObj.onkey = itemKeystroke;\r
 \r
-                                                               // Fix for #3052:\r
+                                                               // Fix for http://dev.ckeditor.com/ticket/3052:\r
                                                                // Prevent JAWS from focusing the toolbar after document load.\r
                                                                itemObj.onfocus = function() {\r
                                                                        if ( !editor.toolbox.focusCommandExecuted )\r