From 3b35bd273a79f6b01fda7a246aed64aca147ea7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 21 Mar 2016 02:20:06 +0100 Subject: Upgrade to 4.5.7 and add some plugin --- sources/core/dom/walker.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sources/core/dom/walker.js') 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 ); -- cgit v1.2.3