Browse Source

Update editor.js

pull/106/head
Nicolas Giard 7 years ago
committed by GitHub
parent
commit
0cbc2bc435
1 changed files with 0 additions and 2 deletions
  1. 2
      client/js/components/editor.js

2
client/js/components/editor.js

@ -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()
} }

Loading…
Cancel
Save