X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fludivine-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fplugins%2Ftoolbar%2Fplugin.js;fp=sources%2Fplugins%2Ftoolbar%2Fplugin.js;h=fc19359ecb8312162b8bd5349507c3092084159a;hp=b267b51da76293d0fe71c168d0deb72aa0045b5a;hb=1794320dcfdfcd19572fb1676294f9853a6bbc20;hpb=7183f6a6a21ad9124e70c997e0168459f377a9f2 diff --git a/sources/plugins/toolbar/plugin.js b/sources/plugins/toolbar/plugin.js index b267b51..fc19359 100644 --- a/sources/plugins/toolbar/plugin.js +++ b/sources/plugins/toolbar/plugin.js @@ -34,7 +34,7 @@ if ( editor.toolbox ) { editor.toolbox.focusCommandExecuted = true; - // Make the first button focus accessible for IE. (#3417) + // Make the first button focus accessible for IE. (http://dev.ckeditor.com/ticket/3417) // Adobe AIR instead need while of delay. if ( CKEDITOR.env.ie || CKEDITOR.env.air ) { setTimeout( function() { @@ -51,7 +51,7 @@ CKEDITOR.plugins.add( 'toolbar', { requires: 'button', // jscs:disable maximumLineLength - 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% + 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% // jscs:enable maximumLineLength init: function( editor ) { @@ -118,10 +118,6 @@ return false; case 40: // DOWN-ARROW if ( item.button && item.button.hasArrow ) { - // Note: code is duplicated in plugins\richcombo\plugin.js in keyDownFn(). - editor.once( 'panelShow', function( evt ) { - evt.data._.panel._.currentBlock.onKeyDown( 40 ); - } ); item.execute(); } else { // Send left arrow key. @@ -205,7 +201,7 @@ // available because it's a common mistake to leave // an extra comma in the toolbar definition // settings, which leads on the editor not loading - // at all in IE. (#3983) + // at all in IE. (http://dev.ckeditor.com/ticket/3983) if ( !row ) continue; @@ -287,7 +283,7 @@ itemObj.toolbar = toolbarObj; itemObj.onkey = itemKeystroke; - // Fix for #3052: + // Fix for http://dev.ckeditor.com/ticket/3052: // Prevent JAWS from focusing the toolbar after document load. itemObj.onfocus = function() { if ( !editor.toolbox.focusCommandExecuted )