aboutsummaryrefslogtreecommitdiff
path: root/ext/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-08-07 12:40:51 -0400
committerGitHub <noreply@github.com>2021-08-07 12:40:51 -0400
commit5d4141a429dad23d78238f67ef61baabd251e67c (patch)
tree7e9875b3fb576d714204bb42e9c9ce862ec3c0a0 /ext/data
parentad31b70b67be6a8a3d53769dacc748aa850330bc (diff)
Google Docs accessibility (#1875)
* Add accessibility option for forcing Google Docs HTML-based rendering * Update settings * Send a documentStart message at document start * Add accessibility script for Google Docs * Set up accessibility * Update tests
Diffstat (limited to 'ext/data')
-rw-r--r--ext/data/schemas/options-schema.json15
1 files changed, 14 insertions, 1 deletions
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index 1565cfe6..d1fb28ad 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -72,7 +72,8 @@
"anki",
"sentenceParsing",
"inputs",
- "clipboard"
+ "clipboard",
+ "accessibility"
],
"properties": {
"general": {
@@ -1109,6 +1110,18 @@
"minimum": 0
}
}
+ },
+ "accessibility": {
+ "type": "object",
+ "required": [
+ "forceGoogleDocsHtmlRendering"
+ ],
+ "properties": {
+ "forceGoogleDocsHtmlRendering": {
+ "type": "boolean",
+ "default": false
+ }
+ }
}
}
}