X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fludivine-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fplugins%2Fmagicline%2Fplugin.js;h=45b6feab192e3a4b685fbb6e669ec5122d5a14ef;hp=ac4bb78b3ae997434036af8fb877c9b53109e436;hb=1794320dcfdfcd19572fb1676294f9853a6bbc20;hpb=7183f6a6a21ad9124e70c997e0168459f377a9f2 diff --git a/sources/plugins/magicline/plugin.js b/sources/plugins/magicline/plugin.js index ac4bb78..45b6fea 100644 --- a/sources/plugins/magicline/plugin.js +++ b/sources/plugins/magicline/plugin.js @@ -12,7 +12,7 @@ ( function() { CKEDITOR.plugins.add( 'magicline', { - lang: 'af,ar,az,bg,ca,cs,cy,da,de,de-ch,el,en,en-gb,eo,es,et,eu,fa,fi,fr,fr-ca,gl,he,hr,hu,id,it,ja,km,ko,ku,lv,nb,nl,no,oc,pl,pt,pt-br,ru,si,sk,sl,sq,sv,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% + lang: 'af,ar,az,bg,ca,cs,cy,da,de,de-ch,el,en,en-gb,eo,es,es-mx,et,eu,fa,fi,fr,fr-ca,gl,he,hr,hu,id,it,ja,km,ko,ku,lv,nb,nl,no,oc,pl,pt,pt-br,ru,si,sk,sl,sq,sv,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% init: initPlugin } ); @@ -38,7 +38,7 @@ // %REMOVE_START% // Internal DEBUG uses tools located in the topmost window. - // (#9701) Due to security limitations some browsers may throw + // (http://dev.ckeditor.com/ticket/9701) Due to security limitations some browsers may throw // errors when accessing window.top object. Do it safely first then. try { that.debug = window.top.DEBUG; @@ -278,7 +278,7 @@ var elements, element, i; for ( var t in { p: 1, br: 1, div: 1 } ) { - // document.find is not available in QM (#11149). + // document.find is not available in QM (http://dev.ckeditor.com/ticket/11149). elements = editor.document.getElementsByTag( t ); for ( i = elements.count(); i--; ) { @@ -428,7 +428,7 @@ function elementFromPoint( doc, mouse ) { var pointedElement = doc.$.elementFromPoint( mouse.x, mouse.y ); - // IE9QM: from times to times it will return an empty object on scroll bar hover. (#12185) + // IE9QM: from times to times it will return an empty object on scroll bar hover. (http://dev.ckeditor.com/ticket/12185) return pointedElement && pointedElement.nodeType ? new CKEDITOR.dom.element( pointedElement ) : null; @@ -483,7 +483,7 @@ // If trigger is an element, neither editable nor editable's ascendant. if ( trigger && that.editable.contains( trigger ) ) { // Check for closest editable limit. - // Don't consider trigger as a limit as it may be nested editable (includeSelf=false) (#12009). + // Don't consider trigger as a limit as it may be nested editable (includeSelf=false) (http://dev.ckeditor.com/ticket/12009). var limit = getClosestEditableLimit( trigger ); // Trigger in nested editable area. @@ -730,7 +730,7 @@ // Consider the editable to be an element with overflow:scroll // and non-zero scrollTop/scrollLeft value. - // For example: divarea editable. (#9383) + // For example: divarea editable. (http://dev.ckeditor.com/ticket/9383) styleSet.top += view.editable.scroll.top; styleSet.left += view.editable.scroll.left; } @@ -931,7 +931,7 @@ var selected = editor.getSelection().getStartElement(), limit; - // (#9833) Go down to the closest non-inline element in DOM structure + // (http://dev.ckeditor.com/ticket/9833) Go down to the closest non-inline element in DOM structure // since inline elements don't participate in in magicline. selected = selected.getAscendant( DTD_BLOCK, 1 );