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