feat: adding editorjs

This commit is contained in:
Jannat Patel
2023-04-21 09:58:59 +05:30
parent 33db16a1a2
commit f97ae4e4e2
4 changed files with 23 additions and 22 deletions

View File

@@ -1,5 +1,9 @@
import EditorJS from "@editorjs/editorjs";
import Header from "@editorjs/header";
import List from "@editorjs/list";
const editor = new EditorJS("body");
console.log(editor);
create_editor_for_short_description = () => {
let editor = new EditorJS({
holder: "course-description",
});
};