mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-06 11:16:10 +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,
|
word,
|
||||||
onCorrect: (correction) => {
|
onCorrect: (correction) => {
|
||||||
DOMUtils.Mutating.applyTextInRange(range, selection, correction);
|
DOMUtils.Mutating.applyTextInRange(range, selection, correction);
|
||||||
SpellcheckComposerExtension.update(editor);
|
SpellcheckComposerExtension.onContentChanged({editor});
|
||||||
},
|
},
|
||||||
onDidLearn: () => {
|
onDidLearn: () => {
|
||||||
SpellcheckComposerExtension.update(editor);
|
SpellcheckComposerExtension.onContentChanged({editor});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue