Exiting window containing a volatile note (empty and not persisted) by pressing Esc key.
A long time ago, this shortcut was considered dangerous as a lot of users "were discarding their changes unintentionally quite often".
The proposal is to enable this shortcut only for the windows which are opened for creating a new note (still empty [not dirty] and not persisted yet).
The Angular's CanDeactivate guard and the null ID of the note could be quite in handy for implementing this feature.
Please sign in to leave a comment.