Skip to content

Commit

Permalink
Merge pull request #1109 from FahidLatheef/develop
Browse files Browse the repository at this point in the history
feat: Add table component to LMS Lesson
  • Loading branch information
pateljannat authored Nov 27, 2024
2 parents b8da14a + af83812 commit a9f40d1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -150,6 +151,7 @@ export function getEditorTools() {
quiz: Quiz,
upload: Upload,
image: SimpleImage,
table: Table,
paragraph: {
class: Paragraph,
inlineToolbar: true,
Expand Down
7 changes: 7 additions & 0 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]":
version "0.21.5"
resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz#c7184a326533fcdf1b8ee0733e21c713b975575f"
Expand Down

0 comments on commit a9f40d1

Please sign in to comment.