mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-02 13:27:55 +08:00
fix(spellcheck): fix right click menu on spellcheck
This commit is contained in:
parent
7a365e60d4
commit
32d2ec91a6
1 changed files with 2 additions and 2 deletions
|
@ -163,10 +163,10 @@ export default class SpellcheckComposerExtension extends ComposerExtension {
|
|||
word,
|
||||
onCorrect: (correction) => {
|
||||
DOMUtils.Mutating.applyTextInRange(range, selection, correction);
|
||||
SpellcheckComposerExtension.update(editor);
|
||||
SpellcheckComposerExtension.onContentChanged({editor});
|
||||
},
|
||||
onDidLearn: () => {
|
||||
SpellcheckComposerExtension.update(editor);
|
||||
SpellcheckComposerExtension.onContentChanged({editor});
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue