mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 21:53:47 +00:00
Added setting for spellchecking
This commit is contained in:
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";
|
||||
}
|
||||
Reference in new issue
Block a user