Commit 0cbc2bc4 authored by Nicolas Giard's avatar Nicolas Giard Committed by GitHub

Update editor.js

parent 661307f5
...@@ -150,8 +150,6 @@ module.exports = (alerts, pageEntryPath, socket) => { ...@@ -150,8 +150,6 @@ module.exports = (alerts, pageEntryPath, socket) => {
name: 'code-block', name: 'code-block',
action: (editor) => { action: (editor) => {
if (!mdeModalOpenState) { if (!mdeModalOpenState) {
// mdeModalOpenState = true
if (mde.codemirror.doc.somethingSelected()) { if (mde.codemirror.doc.somethingSelected()) {
vueCodeBlock.initContent = mde.codemirror.doc.getSelection() vueCodeBlock.initContent = mde.codemirror.doc.getSelection()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment