feat: tables in lms lessons

This commit is contained in:
Fahid Latheef Alungal
2024-11-10 02:09:48 +05:30
parent 619262aa97
commit 9dbe8fbb1f
3 changed files with 10 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import { watch } from 'vue'
import dayjs from '@/utils/dayjs'
import Embed from '@editorjs/embed'
import SimpleImage from '@editorjs/simple-image'
import Table from '@editorjs/table';
export function createToast(options) {
toast({
@@ -150,6 +151,7 @@ export function getEditorTools() {
quiz: Quiz,
upload: Upload,
image: SimpleImage,
table: Table,
paragraph: {
class: Paragraph,
inlineToolbar: true,