diff options
author | bob <bcz@cs.brown.edu> | 2019-07-11 15:10:46 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-07-11 15:10:46 -0400 |
commit | 6060e67bcf08089b826685c512e3aa181c714446 (patch) | |
tree | e54f84a576e471e72bcbba02dc3b7286a22a9415 /src/client/util/RichTextSchema.tsx | |
parent | d5acf6672b5b7cedf7b6d65293d671faf9bf4a4f (diff) | |
parent | 7006f67b7cf15734fb0b63d917ae392758704f75 (diff) |
Merge branch 'master' into extensionFields
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', { |