aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RichTextSchema.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-12-05 14:25:02 -0500
committerbob <bcz@cs.brown.edu>2019-12-05 14:25:02 -0500
commited1698dc1b225ebc79c1dbe5b831c3e164a312e7 (patch)
treed69b12a99f643b7f75336a183c8b3cbe2da984c3 /src/client/util/RichTextSchema.tsx
parentf1d89e46aa4a2d10dcbe6d36ecf2aebdb348f887 (diff)
added style shortcut for text
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r--src/client/util/RichTextSchema.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx
index 189bf08f7..5fcf15cb7 100644
--- a/src/client/util/RichTextSchema.tsx
+++ b/src/client/util/RichTextSchema.tsx
@@ -324,8 +324,9 @@ export const marks: { [index: string]: MarkSpec } = {
}
},
+
// :: MarkSpec Coloring on text. Has `color` attribute that defined the color of the marked text.
- color: {
+ pFontColor: {
attrs: {
color: { default: "#000" }
},