diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-12-10 18:47:27 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-12-10 18:47:27 -0500 |
commit | 4ab742c54d600fb62b02268f48e711258558924b (patch) | |
tree | fbda9419f1941097d935c035f67a19470f807587 /src/client/util/RichTextSchema.tsx | |
parent | 65c7ce1c6be70f28e1be57e369cf15bc2df7d729 (diff) |
fixes to color marks
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r-- | src/client/util/RichTextSchema.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx index 7cb8448ca..4369be1ee 100644 --- a/src/client/util/RichTextSchema.tsx +++ b/src/client/util/RichTextSchema.tsx @@ -313,7 +313,7 @@ export const marks: { [index: string]: MarkSpec } = { attrs: { color: { default: "#000" } }, - inclusive: false, + inclusive: true, parseDOM: [{ tag: "span", getAttrs(dom: any) { return { color: dom.getAttribute("color") }; |