Bugfix: should not delete node while editing text and pressing delete.