- var textElement = canvas.getDocumentElement(mutation.target);
- textElement.data('wlxmlNode').setText(mutation.target.data);
+ var textElement = canvas.getDocumentElement(mutation.target),
+ toSet = mutation.target.data !== utils.unicode.ZWS ? mutation.target.data : '';
+
+ textElement.data('wlxmlNode').setText(toSet);