Merge pull request #582 from ONLYOFFICE/fix/bugfix

[DE] Fix Bug 47398
This commit is contained in:
Julia Radzhabova 2020-11-21 15:28:58 +03:00 committed by GitHub
commit 21c27037ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -430,7 +430,7 @@ define([
}, 0);
}
} else if (key === 'Backspace') {
if ((event.target.selectionStart === event.target.selectionEnd && event.target.selectionStart < me.positionCaption + 1) || event.target.selectionStart < me.positionCaption - 1) {
if ((event.target.selectionStart === event.target.selectionEnd && event.target.selectionStart < me.positionCaption + 1) || event.target.selectionStart < me.positionCaption) {
event.preventDefault();
}
} else if (key === 'Delete') {