Merge branch 'hotfix/3.5.19' into develop

This commit is contained in:
Baptiste Grob
2021-01-27 11:26:01 +01:00
3 changed files with 3 additions and 2 deletions

View File

@@ -220,6 +220,7 @@
ng-model-options='{ debounce: self.state.editorDebounce}',
ng-readonly='self.noteLocked',
ng-trim='false'
autocomplete='off'
)
| {{self.onSystemEditorLoad()}}
panel-resizer(

View File

@@ -1177,7 +1177,7 @@ class EditorViewCtrl extends PureViewCtrl<unknown, EditorState> {
element: editor,
key: KeyboardKey.Tab,
onKeyDown: (event) => {
if (this.note.locked || event.shiftKey) {
if (document.hidden || this.note.locked || event.shiftKey) {
return;
}
event.preventDefault();