From 6a4ad741f79f5a3829184432887078f41a99f911 Mon Sep 17 00:00:00 2001 From: Pranav Date: Sun, 24 Jan 2021 21:18:18 +0530 Subject: [PATCH] export schemaWithMentions --- src/mentions/schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mentions/schema.js b/src/mentions/schema.js index fda5da4..d42d26c 100644 --- a/src/mentions/schema.js +++ b/src/mentions/schema.js @@ -59,7 +59,7 @@ const mentionNode = { const addMentionNodes = nodes => nodes.append({ mention: mentionNode }); -const schemaWithMentions = new Schema({ +export const schemaWithMentions = new Schema({ nodes: addMentionNodes(schema.spec.nodes), marks: schema.spec.marks, });