Added setting for spellchecking

This commit is contained in:
tsommer committed 2024-06-01 19:55:12 +02:00
1 parent 5bb98c74d1
commit f7d0cfa102
5 files changed
+14 -1

No files matched your search

@@ -121,4 +121,6 @@ public sealed class SettingsManager
var settingsJson = JsonSerializer.Serialize(this.ConfigurationData);
await File.WriteAllTextAsync(settingsPath, settingsJson);
}
public void InjectSpellchecking(Dictionary<string, object?> attributes) => attributes["spellcheck"] = this.ConfigurationData.EnableSpellchecking ? "true" : "false";
}