From 92517b1d58e85d115608d0a5a21ba972200ea63e Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Sun, 14 Jan 2018 13:41:53 +0100 Subject: [PATCH] Avoid additional `divs` when something is dropped --- src/utils/Droppable.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils/Droppable.js b/src/utils/Droppable.js index c533963bc..07785fcc6 100644 --- a/src/utils/Droppable.js +++ b/src/utils/Droppable.js @@ -148,8 +148,6 @@ export default class Droppable { } else if (types.indexOf('text/json') >= 0) { const json = dataTransfer.getData('text/json'); json && (content = JSON.parse(json)); - } else { - content = content && `
${content}
`; } const result = { content };