From: Aleksander Ɓukasz Date: Sat, 14 Dec 2013 14:47:58 +0000 (+0100) Subject: editor: fix cursor out of text node handling Chrome hack X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/b823623776a1b3e1aee97fe071a3fc7a39ea35f3?ds=inline;hp=b823623776a1b3e1aee97fe071a3fc7a39ea35f3 editor: fix cursor out of text node handling Chrome hack The case where there were no more text nodes above/below was not handled correctly. Now, if that happens, we revert in the opposite direction, ideally to place where we started. This might be better handled at the keydown phase. ---