Fixed forum editor file upload issue
This commit is contained in:
parent
88776cbb72
commit
321089ea8e
|
@ -116,7 +116,7 @@
|
|||
});
|
||||
|
||||
// Do live Markdown previews
|
||||
initLiveMarkdown({ inputEl: textField, previewEl: preview });
|
||||
let doMarkdown = initLiveMarkdown({ inputEl: textField, previewEl: preview });
|
||||
|
||||
/*
|
||||
/ Asset upload
|
||||
|
|
|
@ -102,5 +102,7 @@
|
|||
|
||||
doMarkdown();
|
||||
inputEl.addEventListener('input', () => doMarkdown());
|
||||
|
||||
return doMarkdown;
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -227,7 +227,7 @@
|
|||
});
|
||||
projectForm.addEventListener('submit', () => clearDescription());
|
||||
|
||||
initLiveMarkdown({ inputEl: description, previewEl: descPreview });
|
||||
let doMarkdown = initLiveMarkdown({ inputEl: description, previewEl: descPreview });
|
||||
|
||||
//////////////////////
|
||||
// Owner management //
|
||||
|
|
Loading…
Reference in New Issue