diff options
author | laurawilsonri <laura_wilson@brown.edu> | 2019-04-15 20:07:37 -0400 |
---|---|---|
committer | laurawilsonri <laura_wilson@brown.edu> | 2019-04-15 20:07:37 -0400 |
commit | c93d46a0d0692569d3a3a2a30c909d9ecbc40830 (patch) | |
tree | ba8b17f90b031a784f4efcb88010e4d1b52cd519 /src/client/util/RichTextSchema.tsx | |
parent | e981d9d228507fc573febc997eb691a5428126e8 (diff) |
added a font size indicator
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r-- | src/client/util/RichTextSchema.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx index 42bcf2ae2..9ef71e305 100644 --- a/src/client/util/RichTextSchema.tsx +++ b/src/client/util/RichTextSchema.tsx @@ -267,6 +267,13 @@ export const marks: { [index: string]: MarkSpec } = { }] }, + crimson: { + parseDOM: [{ style: 'font-family: "Crimson Text", sans-serif;' }], + toDOM: () => ['span', { + style: 'font-family: "Crimson Text", sans-serif;' + }] + }, + /** FONT SIZES */ p10: { |