diff options
author | bob <bcz@cs.brown.edu> | 2019-12-05 14:25:02 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-12-05 14:25:02 -0500 |
commit | ed1698dc1b225ebc79c1dbe5b831c3e164a312e7 (patch) | |
tree | d69b12a99f643b7f75336a183c8b3cbe2da984c3 /src/client/util/RichTextSchema.tsx | |
parent | f1d89e46aa4a2d10dcbe6d36ecf2aebdb348f887 (diff) |
added style shortcut for text
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r-- | src/client/util/RichTextSchema.tsx | 3 |
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" } }, |