diff --git a/source/Editor.js b/source/Editor.js index 6f001a0..028c04b 100644 --- a/source/Editor.js +++ b/source/Editor.js @@ -425,6 +425,7 @@ var removeZWS = function ( root ) { parent = node.parentNode; parent.removeChild( node ); node = parent; + walker.currentNode = parent; } while ( isInline( node ) && !getLength( node ) ); break; } else {