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

@@ -18,6 +18,7 @@
"@editorjs/nested-list": "^1.4.2",
"@editorjs/paragraph": "^2.11.3",
"@editorjs/simple-image": "^1.6.0",
"@editorjs/table": "^2.4.2",
"ace-builds": "^1.36.2",
"chart.js": "^4.4.1",
"codemirror-editor-vue3": "^2.8.0",

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,

View File

@@ -120,6 +120,13 @@
dependencies:
"@codexteam/icons" "^0.0.6"
"@editorjs/table@^2.4.2":
version "2.4.2"
resolved "https://registry.yarnpkg.com/@editorjs/table/-/table-2.4.2.tgz#99a2b3f9ea8f39c9ca4df80b8e63bff6e21d0193"
integrity sha512-zGmwLCarsaTgOfccxR3Lc6oC3QTX0JdoK0O3+8TE/VCR/xnW92VO7rAcu4cqTwtbFMQErYl8id9a5hM23vyFng==
dependencies:
"@codexteam/icons" "^0.0.6"
"@esbuild/aix-ppc64@0.21.5":
version "0.21.5"
resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz#c7184a326533fcdf1b8ee0733e21c713b975575f"