From: Aleksander Ɓukasz Date: Fri, 9 Aug 2013 12:00:41 +0000 (+0200) Subject: Changing Zero Width Space handling strategy X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/b53df8a58d8dafedf5daf3275243acb8ae3c99f0?ds=sidebyside;hp=b53df8a58d8dafedf5daf3275243acb8ae3c99f0 Changing Zero Width Space handling strategy ZWS allows to put caret into empty inline node in Chrome This change goes from: - content observer puts ZWS on nodes set to '' - ZWS stays in nodes and is handled accordingly (selection, arrow keys, backspace/delete keys etc.) to: - content observer puts ZWS on nodes set to '' - content observer removes ZWS from nodes which .data changes from 'ZWS' to other string - special treatment of ZWS is necessary only on "empty" document text elements, ie those whose container .data equals ZWS ---