aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RichTextSchema.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-12-09 10:16:55 -0500
committerbob <bcz@cs.brown.edu>2019-12-09 10:16:55 -0500
commite5ca273b70c2c41f953ad2a534afabdb313f3e99 (patch)
tree05a92122a5bac7dabe8cf8171a64b94fae0bbf8d /src/client/util/RichTextSchema.tsx
parentfef12d4ca96d35c230a3a5e7c053b9b90eb38243 (diff)
changed styles to allow multi-character names using %. switched default "styles" of todo, ignore, etc to use % style notation
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r--src/client/util/RichTextSchema.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx
index 8c74c3f68..2102ea85b 100644
--- a/src/client/util/RichTextSchema.tsx
+++ b/src/client/util/RichTextSchema.tsx
@@ -514,6 +514,7 @@ export const marks: { [index: string]: MarkSpec } = {
tag: { default: "" }
},
group: "inline",
+ inclusive: false,
toDOM(node: any) {
const uid = node.attrs.userid.replace(".", "").replace("@", "");
return node.attrs.opened ?