From 0cbc2bc435112767d406b64d54c982cd30a84205 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Thu, 18 May 2017 19:47:45 -0400 Subject: [PATCH] Update editor.js --- client/js/components/editor.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/js/components/editor.js b/client/js/components/editor.js index 229bdb49..ebc9db06 100644 --- a/client/js/components/editor.js +++ b/client/js/components/editor.js @@ -150,8 +150,6 @@ module.exports = (alerts, pageEntryPath, socket) => { name: 'code-block', action: (editor) => { if (!mdeModalOpenState) { - // mdeModalOpenState = true - if (mde.codemirror.doc.somethingSelected()) { vueCodeBlock.initContent = mde.codemirror.doc.getSelection() }