mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-03 13:16:31 -05:00
Merge pull request #164 from priceld/master
change the walker's currentNode to reflect the changes being made to …
This commit is contained in:
commit
771fe93217
1 changed files with 1 additions and 0 deletions
|
@ -425,6 +425,7 @@ var removeZWS = function ( root ) {
|
||||||
parent = node.parentNode;
|
parent = node.parentNode;
|
||||||
parent.removeChild( node );
|
parent.removeChild( node );
|
||||||
node = parent;
|
node = parent;
|
||||||
|
walker.currentNode = parent;
|
||||||
} while ( isInline( node ) && !getLength( node ) );
|
} while ( isInline( node ) && !getLength( node ) );
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue