X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fludivine-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fcore%2Fdom%2Fnode.js;h=69b223e68622305d9076211ee6916cfd1dd0b10b;hp=51bba1899d690b1cf680e05be76524871b19e612;hb=1794320dcfdfcd19572fb1676294f9853a6bbc20;hpb=7183f6a6a21ad9124e70c997e0168459f377a9f2 diff --git a/sources/core/dom/node.js b/sources/core/dom/node.js index 51bba18..69b223e 100644 --- a/sources/core/dom/node.js +++ b/sources/core/dom/node.js @@ -200,7 +200,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { } // IE8 rename HTML5 nodes by adding `:` at the begging of the tag name when the node is cloned, - // so `
` will be `<:figure>` after 'cloneNode'. We need to fix it (#13101). + // so `
` will be `<:figure>` after 'cloneNode'. We need to fix it (http://dev.ckeditor.com/ticket/13101). function renameNodes( node ) { if ( node.type != CKEDITOR.NODE_ELEMENT && node.type != CKEDITOR.NODE_DOCUMENT_FRAGMENT ) return; @@ -804,7 +804,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { } else if ( trimmed.length < originalLength ) { child.split( originalLength - trimmed.length ); - // IE BUG: child.remove() may raise JavaScript errors here. (#81) + // IE BUG: child.remove() may raise JavaScript errors here. (http://dev.ckeditor.com/ticket/81) this.$.removeChild( this.$.firstChild ); } } @@ -829,7 +829,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { child.split( trimmed.length ); // IE BUG: child.getNext().remove() may raise JavaScript errors here. - // (#81) + // (http://dev.ckeditor.com/ticket/81) this.$.lastChild.parentNode.removeChild( this.$.lastChild ); } } @@ -840,7 +840,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { child = this.$.lastChild; if ( child && child.type == 1 && child.nodeName.toLowerCase() == 'br' ) { - // Use "eChildNode.parentNode" instead of "node" to avoid IE bug (#324). + // Use "eChildNode.parentNode" instead of "node" to avoid IE bug (http://dev.ckeditor.com/ticket/324). child.parentNode.removeChild( child ); } } @@ -874,7 +874,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { if ( this.type != CKEDITOR.NODE_ELEMENT ) element = this.getParent(); - // Prevent Edge crash (#13609, #13919). + // Prevent Edge crash (http://dev.ckeditor.com/ticket/13609, http://dev.ckeditor.com/ticket/13919). if ( CKEDITOR.env.edge && element && element.is( 'textarea', 'input' ) ) { checkOnlyAttributes = true; }