Add support for disabling spell checking (#8604)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
co-authored by
Michael Telatynski
parent
8379f5624e
commit
bd30b75f79
+7
-1
@@ -151,7 +151,7 @@ export default abstract class BasePlatform {
|
||||
* Return true if platform supports multi-language
|
||||
* spell-checking, otherwise false.
|
||||
*/
|
||||
public supportsMultiLanguageSpellCheck(): boolean {
|
||||
public supportsSpellCheckSettings(): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -274,6 +274,12 @@ export default abstract class BasePlatform {
|
||||
|
||||
public setLanguage(preferredLangs: string[]) {}
|
||||
|
||||
public setSpellCheckEnabled(enabled: boolean): void {}
|
||||
|
||||
public async getSpellCheckEnabled(): Promise<boolean> {
|
||||
return null;
|
||||
}
|
||||
|
||||
public setSpellCheckLanguages(preferredLangs: string[]) {}
|
||||
|
||||
public getSpellCheckLanguages(): Promise<string[]> | null {
|
||||
|
||||
Reference in New Issue
Block a user