fix: 'Spellcheck' option removes note editor from view
This commit is contained in:
@@ -1033,8 +1033,8 @@ class EditorViewCtrl extends PureViewCtrl implements EditorViewScope {
|
|||||||
|
|
||||||
if (key === WebPrefKey.EditorSpellcheck) {
|
if (key === WebPrefKey.EditorSpellcheck) {
|
||||||
/** Allows textarea to reload */
|
/** Allows textarea to reload */
|
||||||
|
await this.setEditorState({ textareaUnloading: true });
|
||||||
await this.setEditorState({ textareaUnloading: false });
|
await this.setEditorState({ textareaUnloading: false });
|
||||||
this.setEditorState({ textareaUnloading: true });
|
|
||||||
this.reloadFont();
|
this.reloadFont();
|
||||||
} else if (key === WebPrefKey.EditorResizersEnabled && this.state[key] === true) {
|
} else if (key === WebPrefKey.EditorResizersEnabled && this.state[key] === true) {
|
||||||
this.$timeout(() => {
|
this.$timeout(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user