From 1fe259329a71e4a929d5de7854106b4d28e25e62 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Sun, 24 Jan 2021 13:20:03 +0530 Subject: [PATCH] Update index.js --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 9b2e90f..3e2751d 100644 --- a/src/index.js +++ b/src/index.js @@ -51,13 +51,13 @@ export { buildMenuItems, buildKeymap, buildInputRules }; // Can be used to override the menu content. export function wootWriterSetup(options) { let plugins = [ - ...(options.plugins || []), buildInputRules(options.schema), keymap(buildKeymap(options.schema, options.mapKeys)), keymap(baseKeymap), dropCursor(), gapCursor(), Placeholder(options.placeholder), + ...(options.plugins || []), ]; if (options.menuBar !== false) plugins.push(