feat: adding editorjs
This commit is contained in:
@@ -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",
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user