Update editor.js
This commit is contained in:
parent
661307f5db
commit
0cbc2bc435
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user