1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-06 09:19:22 +02:00

Desktop: Added toolbar button to switch spell checker language

This commit is contained in:
Laurent Cozic
2020-11-08 01:08:33 +00:00
parent 6ac4131003
commit bd2081c3b6
18 changed files with 206 additions and 102 deletions

View File

@@ -25,11 +25,6 @@ export default class SpellCheckerServiceDriverNative extends SpellCheckerService
return languages.length ? languages[0] : '';
}
public makeMenuItem(item:any):any {
const MenuItem = bridge().MenuItem;
return new MenuItem(item);
}
public addWordToSpellCheckerDictionary(_language:string, word:string) {
// Actually on Electron all languages share the same dictionary, or
// perhaps it's added to the currently active language.