mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
change the walker's currentNode to reflect the changes being made to the tree
This commit is contained in:
parent
987f3afd52
commit
abfebbab16
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue