]> git.immae.eu Git - perso/Immae/Projets/packagist/ludivine-ckeditor-component.git/blobdiff - sources/plugins/button/plugin.js
Update to 4.7.3
[perso/Immae/Projets/packagist/ludivine-ckeditor-component.git] / sources / plugins / button / plugin.js
index 6d2db3343e04ba7bf56190444e75a8a824d5ad17..e91fa86cbd5568f7f2643d963a933f1623ffca7d 100644 (file)
@@ -29,7 +29,7 @@
 \r
        template += ' onkeydown="return CKEDITOR.tools.callFunction({keydownFn},event);"' +\r
                ' onfocus="return CKEDITOR.tools.callFunction({focusFn},event);" ' +\r
-               ( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) + // #188\r
+               ( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) + // http://dev.ckeditor.com/ticket/188\r
                        '="CKEDITOR.tools.callFunction({clickFn},this);return false;">' +\r
                '<span class="cke_button_icon cke_button__{iconName}_icon" style="{style}"';\r
 \r
@@ -49,7 +49,7 @@
                btnTpl = CKEDITOR.addTemplate( 'button', template );\r
 \r
        CKEDITOR.plugins.add( 'button', {\r
-               lang: 'af,ar,az,bg,ca,cs,da,de,de-ch,el,en,en-gb,eo,es,eu,fa,fi,fr,gl,he,hu,id,it,ja,km,ko,ku,lt,nb,nl,no,oc,pl,pt,pt-br,ro,ru,sk,sl,sq,sv,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%\r
+               lang: 'af,ar,az,bg,ca,cs,da,de,de-ch,el,en,en-gb,eo,es,es-mx,eu,fa,fi,fr,gl,he,hr,hu,id,it,ja,km,ko,ku,lt,nb,nl,no,oc,pl,pt,pt-br,ro,ru,sk,sl,sq,sv,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%\r
                beforeInit: function( editor ) {\r
                        editor.ui.addHandler( CKEDITOR.UI_BUTTON, CKEDITOR.ui.button.handler );\r
                }\r
                                }\r
                                instance.execute();\r
 \r
-                               // Fixed iOS focus issue when your press disabled button (#12381).\r
+                               // Fixed iOS focus issue when your press disabled button (http://dev.ckeditor.com/ticket/12381).\r
                                if ( env.iOS ) {\r
                                        editor.focus();\r
                                }\r
                        var name = this.name || this.command,\r
                                iconName = name;\r
 \r
-                       // Check if we're pointing to an icon defined by another command. (#9555)\r
+                       // Check if we're pointing to an icon defined by another command. (http://dev.ckeditor.com/ticket/9555)\r
                        if ( this.icon && !( /\./ ).test( this.icon ) ) {\r
                                iconName = this.icon;\r
                                this.icon = null;\r
                                        element.removeAttribute( 'aria-disabled' );\r
 \r
                                if ( !this.hasArrow ) {\r
-                                       // Note: aria-pressed attribute should not be added to menuButton instances. (#11331)\r
+                                       // Note: aria-pressed attribute should not be added to menuButton instances. (http://dev.ckeditor.com/ticket/11331)\r
                                        state == CKEDITOR.TRISTATE_ON ?\r
                                                element.setAttribute( 'aria-pressed', true ) :\r
                                                element.removeAttribute( 'aria-pressed' );\r