refactor: split editor in JS modules
This commit is contained in:
6
editor/public/static/js/edit.mjs
Normal file
6
editor/public/static/js/edit.mjs
Normal file
@ -0,0 +1,6 @@
|
||||
import Editor from "./editor.mjs";
|
||||
|
||||
window.addEventListener("load", () => {
|
||||
const editor = new Editor()
|
||||
window.editor = editor
|
||||
})
|
Reference in New Issue
Block a user