aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RichTextRules.ts
diff options
context:
space:
mode:
authormonikahedman <monika_hedman@brown.edu>2019-08-27 10:10:21 -0400
committermonikahedman <monika_hedman@brown.edu>2019-08-27 10:10:21 -0400
commitac4a5af7ec796c914509a696db0dbc749e0c40d3 (patch)
tree6bfc7b89abcf8ecc6cfac57011d3d942be646e1d /src/client/util/RichTextRules.ts
parent045d889f138861c5b22ec671e24aa553eaa4f441 (diff)
parent094bbd52f2b55f501357a9f6b057042ad7684f27 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into monika_linking
Diffstat (limited to 'src/client/util/RichTextRules.ts')
-rw-r--r--src/client/util/RichTextRules.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/util/RichTextRules.ts b/src/client/util/RichTextRules.ts
index 89933650b..8c4c76027 100644
--- a/src/client/util/RichTextRules.ts
+++ b/src/client/util/RichTextRules.ts
@@ -26,7 +26,7 @@ export const inpRules = {
match => ({ order: +match[1] }),
(match, node) => node.childCount + node.attrs.order === +match[1]
),
- // 1. ordered list
+ // a. alphabbetical list
wrappingInputRule(
/^([a-z]+)\.\s$/,
schema.nodes.alphabet_list,
@@ -34,7 +34,6 @@ export const inpRules = {
(match, node) => node.childCount + node.attrs.order === +match[1]
),
-
// * bullet list
wrappingInputRule(/^\s*([-+*])\s$/, schema.nodes.bullet_list),