fix: removed unnecessary lines of code
This commit is contained in:
@@ -1943,6 +1943,10 @@ li {
|
||||
justify-content: flex-end !important;
|
||||
}
|
||||
|
||||
.modal-footer .btn:first-child {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
.modal-header .modal-title {
|
||||
color: var(--gray-900);
|
||||
line-height: 1.5rem;
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
import EditorJS from "@editorjs/editorjs";
|
||||
import Header from "@editorjs/header";
|
||||
import List from "@editorjs/list";
|
||||
|
||||
let self = this;
|
||||
const create_editor_for_lesson_content = () => {
|
||||
self.editor = new EditorJS({
|
||||
holder: "lesson-content",
|
||||
tools: {
|
||||
header: {
|
||||
class: Header,
|
||||
},
|
||||
list: List,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
create_editor_for_lesson_content();
|
||||
console.log(self.editor);
|
||||
Reference in New Issue
Block a user