Code Block editor fixes + Image editor UI
This commit is contained in:
1 parent
b524cd9f79
commit
10441de4e8
7 files changed
+54
-7
No files matched your search
@@ -32,7 +32,7 @@ let vueCodeBlock = new Vue({
|
||||
if(mde.codemirror.doc.somethingSelected()) {
|
||||
mde.codemirror.execCommand('singleSelection');
|
||||
}
|
||||
let codeBlockText = '```' + vueCodeBlock.modeSelected + '\n' + codeEditor.getValue() + '\n```';
|
||||
let codeBlockText = '\n```' + vueCodeBlock.modeSelected + '\n' + codeEditor.getValue() + '\n```\n';
|
||||
|
||||
mde.codemirror.doc.replaceSelection(codeBlockText);
|
||||
vueCodeBlock.cancel();
|
||||
|
||||
Reference in new issue
Block a user