Skip to content

Commit 62f8812

Browse files
authored
Merge pull request #5319 from habibayman/fix/bump-tiptap-3.2
[fix] chore(deps): bump the tiptap group to V3.3
2 parents 6bf2411 + a4fa1ee commit 62f8812

File tree

4 files changed

+265
-250
lines changed

4 files changed

+265
-250
lines changed

contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/composables/useEditor.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ref, onUnmounted } from 'vue';
22
import { Editor } from '@tiptap/vue-2';
33
import StarterKitExtension from '@tiptap/starter-kit';
4-
import UnderlineExtension from '@tiptap/extension-underline';
54
import { Superscript } from '@tiptap/extension-superscript';
65
import { Subscript } from '@tiptap/extension-subscript';
76
import { Small } from '../extensions/SmallTextExtension';
@@ -24,7 +23,6 @@ export function useEditor() {
2423
codeBlock: false, // Disable default code block to use the extended version
2524
link: false, // Disable default link to use the custom link extension
2625
}),
27-
UnderlineExtension,
2826
CodeBlockSyntaxHighlight,
2927
Small,
3028
Superscript,

jest_config/jest.conf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
'shared/urls': path.resolve(__dirname, './globalMocks/urls.js'),
2020
'^dexie$': require.resolve('dexie'),
2121
'^mathlive$': 'identity-obj-proxy',
22+
'^@tiptap/extension-code-block-lowlight$': '<rootDir>/node_modules/@tiptap/extension-code-block-lowlight/dist/index.js',
2223
},
2324
testEnvironment: 'jsdom',
2425
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'],

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,13 @@
5454
"homepage": "https://github.com/learningequality/studio#readme",
5555
"dependencies": {
5656
"@sentry/vue": "^9.40.0",
57-
"@tiptap/core": "^2.14.0",
58-
"@tiptap/extension-code-block-lowlight": "^2.23.0",
59-
"@tiptap/extension-link": "^2.23.1",
60-
"@tiptap/extension-subscript": "^2.14.0",
61-
"@tiptap/extension-superscript": "^2.26.1",
62-
"@tiptap/extension-underline": "^2.14.0",
63-
"@tiptap/starter-kit": "^2.13.0",
64-
"@tiptap/vue-2": "^2.13.0",
57+
"@tiptap/core": "^3.3.0",
58+
"@tiptap/extension-code-block-lowlight": "^3.3.0",
59+
"@tiptap/extension-link": "^3.3.0",
60+
"@tiptap/extension-subscript": "^3.3.0",
61+
"@tiptap/extension-superscript": "^3.3.0",
62+
"@tiptap/starter-kit": "^3.3.0",
63+
"@tiptap/vue-2": "^3.3.0",
6564
"ajv": "^8.12.0",
6665
"axios": "^1.11.0",
6766
"broadcast-channel": "^5.1.0",

0 commit comments

Comments
 (0)