diff options
author | yipstanley <stanley_yip@brown.edu> | 2019-07-11 12:36:34 -0400 |
---|---|---|
committer | yipstanley <stanley_yip@brown.edu> | 2019-07-11 12:36:34 -0400 |
commit | a69a43015ec414bd1a9577c03fbeb5c3b27fb55f (patch) | |
tree | 45c5e3ed0d00b88df7940f77269a14901b964d23 /src/client/util/RichTextSchema.tsx | |
parent | b1b69f8a4f9e34f0c8e667ec95f9fe16ebc8b2e4 (diff) |
fixes
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r-- | src/client/util/RichTextSchema.tsx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx index 2a57180d3..b6402da13 100644 --- a/src/client/util/RichTextSchema.tsx +++ b/src/client/util/RichTextSchema.tsx @@ -400,6 +400,20 @@ export const marks: { [index: string]: MarkSpec } = { }] }, + p18: { + parseDOM: [{ style: 'font-size: 18px;' }], + toDOM: () => ['span', { + style: 'font-size: 18px;' + }] + }, + + p20: { + parseDOM: [{ style: 'font-size: 20px;' }], + toDOM: () => ['span', { + style: 'font-size: 20px;' + }] + }, + p24: { parseDOM: [{ style: 'font-size: 24px;' }], toDOM: () => ['span', { |