mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Upgrade TipTap to v3 beta 5
This commit is contained in:
Generated
+275
-299
File diff suppressed because it is too large
Load Diff
+19
-21
@@ -27,27 +27,25 @@
|
||||
"@danharrin/alpine-mousetrap": "^0.1.6",
|
||||
"@fontsource-variable/inter": "^5.0.18",
|
||||
"@ryangjchandler/alpine-tooltip": "^2.0",
|
||||
"@tiptap/core": "^2.11.5",
|
||||
"@tiptap/extension-blockquote": "^2.11.5",
|
||||
"@tiptap/extension-bold": "^2.11.5",
|
||||
"@tiptap/extension-bullet-list": "^2.11.5",
|
||||
"@tiptap/extension-code": "^2.11.5",
|
||||
"@tiptap/extension-code-block": "^2.11.5",
|
||||
"@tiptap/extension-document": "^2.11.5",
|
||||
"@tiptap/extension-heading": "^2.11.5",
|
||||
"@tiptap/extension-history": "^2.11.5",
|
||||
"@tiptap/extension-image": "^2.11.5",
|
||||
"@tiptap/extension-italic": "^2.11.5",
|
||||
"@tiptap/extension-link": "^2.11.5",
|
||||
"@tiptap/extension-list-item": "^2.11.5",
|
||||
"@tiptap/extension-ordered-list": "^2.11.5",
|
||||
"@tiptap/extension-paragraph": "^2.11.5",
|
||||
"@tiptap/extension-strike": "^2.11.5",
|
||||
"@tiptap/extension-subscript": "^2.11.5",
|
||||
"@tiptap/extension-superscript": "^2.11.5",
|
||||
"@tiptap/extension-text": "^2.11.5",
|
||||
"@tiptap/extension-underline": "^2.11.5",
|
||||
"@tiptap/pm": "^2.11.5",
|
||||
"@tiptap/core": "3.0.0-beta.5",
|
||||
"@tiptap/extensions": "3.0.0-beta.5",
|
||||
"@tiptap/extension-blockquote": "3.0.0-beta.5",
|
||||
"@tiptap/extension-bold": "3.0.0-beta.5",
|
||||
"@tiptap/extension-code": "3.0.0-beta.5",
|
||||
"@tiptap/extension-code-block": "3.0.0-beta.5",
|
||||
"@tiptap/extension-document": "3.0.0-beta.5",
|
||||
"@tiptap/extension-heading": "3.0.0-beta.5",
|
||||
"@tiptap/extension-image": "3.0.0-beta.5",
|
||||
"@tiptap/extension-italic": "3.0.0-beta.5",
|
||||
"@tiptap/extension-link": "3.0.0-beta.5",
|
||||
"@tiptap/extension-list": "3.0.0-beta.5",
|
||||
"@tiptap/extension-paragraph": "3.0.0-beta.5",
|
||||
"@tiptap/extension-strike": "3.0.0-beta.5",
|
||||
"@tiptap/extension-subscript": "3.0.0-beta.5",
|
||||
"@tiptap/extension-superscript": "3.0.0-beta.5",
|
||||
"@tiptap/extension-text": "3.0.0-beta.5",
|
||||
"@tiptap/extension-underline": "3.0.0-beta.5",
|
||||
"@tiptap/pm": "3.0.0-beta.5",
|
||||
"alpine-lazy-load-assets": "^1.3.0",
|
||||
"alpinejs": "^3.10.4",
|
||||
"async-alpine": "^2.0.0",
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+17
-21
File diff suppressed because one or more lines are too long
@@ -28,6 +28,10 @@
|
||||
@apply block w-full rounded-lg bg-gray-50 px-3 py-3 text-gray-500 shadow-xs ring-1 ring-gray-950/10 sm:text-sm dark:bg-transparent dark:text-gray-400 dark:ring-white/10;
|
||||
}
|
||||
|
||||
& .EasyMDEContainer .CodeMirror {
|
||||
@apply px-4! py-3!;
|
||||
}
|
||||
|
||||
& .cm-s-easymde .cm-comment {
|
||||
background-color: transparent;
|
||||
color: var(--color-cm-gray-muted);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
}
|
||||
|
||||
& .fi-fo-rich-editor-content {
|
||||
@apply min-h-full w-full px-3 py-3;
|
||||
@apply min-h-full w-full px-5 py-3;
|
||||
}
|
||||
|
||||
& .tiptap:focus {
|
||||
|
||||
@@ -1,17 +1,15 @@
|
||||
import { UndoRedo } from '@tiptap/extensions'
|
||||
import Blockquote from '@tiptap/extension-blockquote'
|
||||
import Bold from '@tiptap/extension-bold'
|
||||
import BulletList from '@tiptap/extension-bullet-list'
|
||||
import Code from '@tiptap/extension-code'
|
||||
import CodeBlock from '@tiptap/extension-code-block'
|
||||
import Document from '@tiptap/extension-document'
|
||||
import Heading from '@tiptap/extension-heading'
|
||||
import History from '@tiptap/extension-history'
|
||||
import Italic from '@tiptap/extension-italic'
|
||||
import Image from './extension-image.js'
|
||||
import Link from '@tiptap/extension-link'
|
||||
import ListItem from '@tiptap/extension-list-item'
|
||||
import { BulletList, ListItem, OrderedList } from '@tiptap/extension-list'
|
||||
import LocalFiles from './extension-local-files.js'
|
||||
import OrderedList from '@tiptap/extension-ordered-list'
|
||||
import Paragraph from '@tiptap/extension-paragraph'
|
||||
import Strike from '@tiptap/extension-strike'
|
||||
import Subscript from '@tiptap/extension-subscript'
|
||||
@@ -27,7 +25,6 @@ export default ({ key, statePath, uploadingFileMessage, $wire }) => [
|
||||
CodeBlock,
|
||||
Document,
|
||||
Heading,
|
||||
History,
|
||||
Italic,
|
||||
Image,
|
||||
Link.configure({
|
||||
@@ -48,4 +45,5 @@ export default ({ key, statePath, uploadingFileMessage, $wire }) => [
|
||||
Superscript,
|
||||
Text,
|
||||
Underline,
|
||||
UndoRedo,
|
||||
]
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user