X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fconnexionswing-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fcore%2Fdom%2Fwalker.js;h=746b40678d21dd3e8bab33fda0b21edc8298407a;hp=5f2c8f4083fb153f9a9f6cc0132dc7c0c5e78892;hb=3b35bd273a79f6b01fda7a246aed64aca147ea7a;hpb=7adcb81e4f83f98c468889aaa5a85558ba88c770 diff --git a/sources/core/dom/walker.js b/sources/core/dom/walker.js index 5f2c8f40..746b4067 100644 --- a/sources/core/dom/walker.js +++ b/sources/core/dom/walker.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -388,9 +388,9 @@ return function( node ) { var isWhitespace; if ( node && node.type == CKEDITOR.NODE_TEXT ) { - // whitespace, as well as the text cursor filler node we used in Webkit. (#9384) + // Whitespace, as well as the Filling Char Sequence text node used in Webkit. (#9384, #13816) isWhitespace = !CKEDITOR.tools.trim( node.getText() ) || - CKEDITOR.env.webkit && node.getText() == '\u200b'; + CKEDITOR.env.webkit && node.getText() == CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE; } return !!( isReject ^ isWhitespace );