diff options
Diffstat (limited to 'sources/core/dom/walker.js')
-rw-r--r-- | sources/core/dom/walker.js | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. |
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | 3 | * For licensing, see LICENSE.md or http://ckeditor.com/license |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -388,9 +388,9 @@ | |||
388 | return function( node ) { | 388 | return function( node ) { |
389 | var isWhitespace; | 389 | var isWhitespace; |
390 | if ( node && node.type == CKEDITOR.NODE_TEXT ) { | 390 | if ( node && node.type == CKEDITOR.NODE_TEXT ) { |
391 | // whitespace, as well as the text cursor filler node we used in Webkit. (#9384) | 391 | // Whitespace, as well as the Filling Char Sequence text node used in Webkit. (#9384, #13816) |
392 | isWhitespace = !CKEDITOR.tools.trim( node.getText() ) || | 392 | isWhitespace = !CKEDITOR.tools.trim( node.getText() ) || |
393 | CKEDITOR.env.webkit && node.getText() == '\u200b'; | 393 | CKEDITOR.env.webkit && node.getText() == CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE; |
394 | } | 394 | } |
395 | 395 | ||
396 | return !!( isReject ^ isWhitespace ); | 396 | return !!( isReject ^ isWhitespace ); |