mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -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.removeChild( node );
|
||||
node = parent;
|
||||
walker.currentNode = parent;
|
||||
} while ( isInline( node ) && !getLength( node ) );
|
||||
break;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue