0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Update built version from latest source

This commit is contained in:
Neil Jenkins 2018-04-04 20:14:53 +10:00
parent 00dbc089c4
commit 23b95e6594
2 changed files with 3 additions and 2 deletions

View file

@ -1330,7 +1330,8 @@ var onKey = function ( event ) {
if ( this._keyHandlers[ key ] ) {
this._keyHandlers[ key ]( this, event, range );
} else if ( !range.collapsed && ( event.key || key ).length === 1 ) {
} else if ( !range.collapsed && !event.ctrlKey && !event.metaKey &&
( event.key || key ).length === 1 ) {
// Record undo checkpoint.
this.saveUndoState( range );
// Delete the selection

File diff suppressed because one or more lines are too long