From 3fcaedc625bc5f9d653c02cbf9d918caf7e8b1e8 Mon Sep 17 00:00:00 2001 From: Yifeng Wang Date: Sun, 29 Oct 2017 18:37:58 -0500 Subject: [PATCH] fix trailing space (#1337) --- packages/slate-react/src/plugins/before.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/slate-react/src/plugins/before.js b/packages/slate-react/src/plugins/before.js index d56178936..af3dd3037 100644 --- a/packages/slate-react/src/plugins/before.js +++ b/packages/slate-react/src/plugins/before.js @@ -250,7 +250,7 @@ function BeforePlugin() { function onDragOver(event, change, editor) { // If the target is inside a void node, and only in this case, // call `preventDefault` to signal that drops are allowed. - // When the target is editable, dropping is already allowed by + // When the target is editable, dropping is already allowed by // default, and calling `preventDefault` hides the cursor. const node = findNode(event.target, editor.value) if (node.isVoid) event.preventDefault()