on draw new file enable edit
This commit is contained in:
@@ -146,6 +146,9 @@
|
|||||||
|
|
||||||
function drawNewFile(pid) {
|
function drawNewFile(pid) {
|
||||||
setMDE(pid + "/" + crypto.randomUUID().substr(0, 5), "", "")
|
setMDE(pid + "/" + crypto.randomUUID().substr(0, 5), "", "")
|
||||||
|
if (easyMDE.isPreviewActive()) {
|
||||||
|
easyMDE.togglePreview()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function enableMDE() {
|
function enableMDE() {
|
||||||
|
|||||||
Reference in New Issue
Block a user