mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: add Flipcard component support with configuration and styling for enhanced interactivity
This commit is contained in:
parent
0b02bb4a76
commit
98dfad76aa
6 changed files with 465 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ import AICanvaToolkit from './AI/AICanvaToolkit'
|
|||
import EmbedObjects from '@components/Objects/Editor/Extensions/EmbedObjects/EmbedObjects'
|
||||
import Badges from '@components/Objects/Editor/Extensions/Badges/Badges'
|
||||
import Buttons from '@components/Objects/Editor/Extensions/Buttons/Buttons'
|
||||
import Flipcard from '@components/Objects/Editor/Extensions/Flipcard/Flipcard'
|
||||
import Table from '@tiptap/extension-table'
|
||||
import TableHeader from '@tiptap/extension-table-header'
|
||||
import TableRow from '@tiptap/extension-table-row'
|
||||
|
|
@ -136,6 +137,10 @@ function Canva(props: Editor) {
|
|||
editable: true,
|
||||
activity: props.activity,
|
||||
}),
|
||||
Flipcard.configure({
|
||||
editable: false,
|
||||
activity: props.activity,
|
||||
}),
|
||||
TableRow,
|
||||
TableHeader,
|
||||
TableCell,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue