Prep for mattermost plugin

This commit is contained in:
Zef Hemel
2022-07-22 13:44:28 +02:00
parent 57db2df496
commit 65234e17dd
12 changed files with 71 additions and 36 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ safeRun(async () => {
// localStorage.setItem("lastRemoteSync", "" + syncer.primaryLastSync);
// console.log("Done!");
// };
let editor = new Editor(serverSpace, document.getElementById("root")!);
let editor = new Editor(serverSpace, document.getElementById("sb-root")!, "");
await editor.init();
// @ts-ignore
window.editor = editor;