From 0fc790e300dfbda6b203462344bf7a570ef0ee68 Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Fri, 17 Jun 2016 20:11:06 +0300 Subject: [PATCH] Add `var` for nodeContent Remove stopPropagation from sanitize callback --- codex-editor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/codex-editor.js b/codex-editor.js index 5d116030..f6378445 100644 --- a/codex-editor.js +++ b/codex-editor.js @@ -589,9 +589,8 @@ cEditor.callback = { blockPaste: function(event, block) { - var clipboardData, pastedData; + var clipboardData, pastedData, nodeContent; - event.stopPropagation(); event.preventDefault(); clipboardData = event.clipboardData || window.clipboardData;