fix: 'Spellcheck' option removes note editor from view

This commit is contained in:
Johnny Almonte
2020-06-24 23:51:41 -04:00
parent b944f3dec8
commit 72de9516b8

View File

@@ -1033,8 +1033,8 @@ class EditorViewCtrl extends PureViewCtrl implements EditorViewScope {
if (key === WebPrefKey.EditorSpellcheck) {
/** Allows textarea to reload */
await this.setEditorState({ textareaUnloading: true });
await this.setEditorState({ textareaUnloading: false });
this.setEditorState({ textareaUnloading: true });
this.reloadFont();
} else if (key === WebPrefKey.EditorResizersEnabled && this.state[key] === true) {
this.$timeout(() => {