aboutsummaryrefslogtreecommitdiff
path: root/ext/data/schemas
diff options
context:
space:
mode:
authorStephen Kraus <8003332+stephenmk@users.noreply.github.com>2022-08-14 12:30:25 -0500
committerGitHub <noreply@github.com>2022-08-14 13:30:25 -0400
commitc331ceae997a49e3c7125853c2225964dc17749b (patch)
tree26548d26ac79f18ac02c12004246584d890d5d0f /ext/data/schemas
parent289a61a62fd5cb41223ef639b1e83e290e1a9c77 (diff)
Add new structured content styling options (#2203)
Allow for arbitrary string assignment to the font-size property. https://developer.mozilla.org/en-US/docs/Web/CSS/font-size Add support for the text-align property. https://developer.mozilla.org/en-US/docs/Web/CSS/text-align Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
Diffstat (limited to 'ext/data/schemas')
-rw-r--r--ext/data/schemas/dictionary-term-bank-v3-schema.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/data/schemas/dictionary-term-bank-v3-schema.json b/ext/data/schemas/dictionary-term-bank-v3-schema.json
index a7c861d5..a52c18e0 100644
--- a/ext/data/schemas/dictionary-term-bank-v3-schema.json
+++ b/ext/data/schemas/dictionary-term-bank-v3-schema.json
@@ -252,7 +252,6 @@
},
"fontSize": {
"type": "string",
- "enum": ["xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large"],
"default": "medium"
},
"textDecorationLine": {
@@ -277,6 +276,11 @@
"enum": ["baseline", "sub", "super", "text-top", "text-bottom", "middle", "top", "bottom"],
"default": "baseline"
},
+ "textAlign": {
+ "type": "string",
+ "enum": ["start", "end", "left", "right", "center", "justify", "justify-all", "match-parent"],
+ "default": "start"
+ },
"marginTop": {
"type": "number",
"default": 0