Fix admin assets

This commit is contained in:
2023-12-02 20:47:33 +11:00
parent 59f8678112
commit 92c435c1ed
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import "../../../../app/assets/builds/tailwind.css";
import "../css/app.css";
import TinyMDE from "tiny-markdown-editor";
import defo from "@icelab/defo";
(function() {
document.addEventListener("DOMContentLoaded", function () {
const views = {
markdown: (el, attrs) => {
var tinyMDE = new TinyMDE.Editor({textarea: attrs.editorId});
return {
update: (newName, oldName) => {},
destroy: () => {}
};
}
};
defo({views});
});
})();