Skip to content

Commit d615c4a

Browse files
chore(deps): update tiptap to v3.13.0 (v4) (#5619)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Benjamin Canac <[email protected]>
1 parent b0139f0 commit d615c4a

File tree

14 files changed

+327
-323
lines changed

14 files changed

+327
-323
lines changed

docs/app/components/content/examples/editor/EditorExample.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Editor, JSONContent } from '@tiptap/vue-3'
44
import { upperFirst } from 'scule'
55
import { mapEditorItems } from '@nuxt/ui/utils/editor'
66
import { Emoji, gitHubEmojis } from '@tiptap/extension-emoji'
7-
import TextAlign from '@tiptap/extension-text-align'
8-
import ImageUpload from './EditorImageUpload'
7+
import { TextAlign } from '@tiptap/extension-text-align'
8+
import { ImageUpload } from './EditorImageUpload'
99
import EditorLinkPopover from './EditorLinkPopover.vue'
1010
1111
const value = ref(`# Building Modern Interfaces with Nuxt UI

docs/app/components/content/examples/editor/EditorImageUpload.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ declare module '@tiptap/core' {
1111
}
1212
}
1313

14-
export default Node.create({
14+
export const ImageUpload = Node.create({
1515
name: 'imageUpload',
1616
group: 'block',
1717
atom: true,
@@ -38,3 +38,5 @@ export default Node.create({
3838
}
3939
}
4040
})
41+
42+
export default ImageUpload

docs/app/components/content/examples/editor/EditorImageUploadExample.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { EditorCustomHandlers, EditorToolbarItem } from '@nuxt/ui'
33
import type { Editor } from '@tiptap/vue-3'
4-
import ImageUpload from './EditorImageUpload'
4+
import { ImageUpload } from './EditorImageUpload'
55
66
const value = ref(`# Image Upload
77

docs/app/components/content/examples/editor/EditorToolbarItemsExample.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import type { EditorToolbarItem } from '@nuxt/ui'
3-
import TextAlign from '@tiptap/extension-text-align'
3+
import { TextAlign } from '@tiptap/extension-text-align'
44
55
const value = ref(`This toolbar showcases **all available formatting options** using built-in handlers. Try the different controls to see them in action!
66

docs/content/docs/2.components/editor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ You can use the `extensions` prop to add additional TipTap extensions to enhance
114114
```vue
115115
<script setup lang="ts">
116116
import { Emoji } from '@tiptap/extension-emoji'
117-
import TextAlign from '@tiptap/extension-text-align'
117+
import { TextAlign } from '@tiptap/extension-text-align'
118118
119119
const value = ref('<h1>Hello World</h1>\n')
120120
</script>

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"@nuxt/ui": "workspace:*",
2323
"@nuxtjs/mcp-toolkit": "^0.5.1",
2424
"@nuxtjs/plausible": "^2.0.1",
25-
"@tiptap/extension-emoji": "3.12.0",
26-
"@tiptap/extension-text-align": "3.12.0",
25+
"@tiptap/extension-emoji": "3.13.0",
26+
"@tiptap/extension-text-align": "3.13.0",
2727
"@octokit/rest": "^22.0.1",
2828
"@regle/core": "^1.12.1",
2929
"@regle/rules": "^1.12.1",

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -133,19 +133,19 @@
133133
"@tailwindcss/vite": "^4.1.17",
134134
"@tanstack/vue-table": "^8.21.3",
135135
"@tanstack/vue-virtual": "^3.13.12",
136-
"@tiptap/core": "3.12.0",
137-
"@tiptap/extension-bubble-menu": "3.12.0",
138-
"@tiptap/extension-drag-handle-vue-3": "3.12.0",
139-
"@tiptap/extension-floating-menu": "3.12.0",
140-
"@tiptap/extension-horizontal-rule": "3.12.0",
141-
"@tiptap/extension-image": "3.12.0",
142-
"@tiptap/extension-mention": "3.12.0",
143-
"@tiptap/extension-placeholder": "3.12.0",
144-
"@tiptap/markdown": "3.12.0",
145-
"@tiptap/pm": "3.12.0",
146-
"@tiptap/starter-kit": "3.12.0",
147-
"@tiptap/suggestion": "3.12.0",
148-
"@tiptap/vue-3": "3.12.0",
136+
"@tiptap/core": "3.13.0",
137+
"@tiptap/extension-bubble-menu": "3.13.0",
138+
"@tiptap/extension-drag-handle-vue-3": "3.13.0",
139+
"@tiptap/extension-floating-menu": "3.13.0",
140+
"@tiptap/extension-horizontal-rule": "3.13.0",
141+
"@tiptap/extension-image": "3.13.0",
142+
"@tiptap/extension-mention": "3.13.0",
143+
"@tiptap/extension-placeholder": "3.13.0",
144+
"@tiptap/markdown": "3.13.0",
145+
"@tiptap/pm": "3.13.0",
146+
"@tiptap/starter-kit": "3.13.0",
147+
"@tiptap/suggestion": "3.13.0",
148+
"@tiptap/vue-3": "3.13.0",
149149
"@unhead/vue": "^2.0.19",
150150
"@vueuse/core": "^14.1.0",
151151
"@vueuse/integrations": "^14.1.0",

playgrounds/nuxt/app/components/editor/ImageUpload.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ declare module '@tiptap/core' {
1111
}
1212
}
1313

14-
export default Node.create({
14+
export const ImageUpload = Node.create({
1515
name: 'imageUpload',
1616
group: 'block',
1717
atom: true,
@@ -38,3 +38,5 @@ export default Node.create({
3838
}
3939
}
4040
})
41+
42+
export default ImageUpload

playgrounds/nuxt/app/pages/components/editor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { EditorToolbarItem, EditorMentionMenuItem, EditorEmojiMenuItem, Dro
44
import type { JSONContent } from '@tiptap/vue-3'
55
import { mapEditorItems } from '@nuxt/ui/utils/editor'
66
import { Emoji, gitHubEmojis } from '@tiptap/extension-emoji'
7-
import TextAlign from '@tiptap/extension-text-align'
8-
import ImageUpload from '../../components/editor/ImageUpload'
7+
import { TextAlign } from '@tiptap/extension-text-align'
8+
import { ImageUpload } from '../../components/editor/ImageUpload'
99
1010
const content = ref(`# Nuxt UI: A Modern UI Library
1111

playgrounds/nuxt/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"@iconify-json/simple-icons": "^1.2.62",
1616
"@internationalized/date": "^3.10.0",
1717
"@nuxt/ui": "workspace:*",
18-
"@tiptap/extension-emoji": "3.12.0",
19-
"@tiptap/extension-text-align": "3.12.0",
18+
"@tiptap/extension-emoji": "3.13.0",
19+
"@tiptap/extension-text-align": "3.13.0",
2020
"ai": "^5.0.108",
2121
"nuxt": "^4.2.1",
2222
"zod": "^4.1.13"

0 commit comments

Comments
 (0)