File tree Expand file tree Collapse file tree 4 files changed +265
-250
lines changed
contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/composables Expand file tree Collapse file tree 4 files changed +265
-250
lines changed Original file line number Diff line number Diff line change 1
1
import { ref , onUnmounted } from 'vue' ;
2
2
import { Editor } from '@tiptap/vue-2' ;
3
3
import StarterKitExtension from '@tiptap/starter-kit' ;
4
- import UnderlineExtension from '@tiptap/extension-underline' ;
5
4
import { Superscript } from '@tiptap/extension-superscript' ;
6
5
import { Subscript } from '@tiptap/extension-subscript' ;
7
6
import { Small } from '../extensions/SmallTextExtension' ;
@@ -24,7 +23,6 @@ export function useEditor() {
24
23
codeBlock : false , // Disable default code block to use the extended version
25
24
link : false , // Disable default link to use the custom link extension
26
25
} ) ,
27
- UnderlineExtension ,
28
26
CodeBlockSyntaxHighlight ,
29
27
Small ,
30
28
Superscript ,
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ module.exports = {
19
19
'shared/urls' : path . resolve ( __dirname , './globalMocks/urls.js' ) ,
20
20
'^dexie$' : require . resolve ( 'dexie' ) ,
21
21
'^mathlive$' : 'identity-obj-proxy' ,
22
+ '^@tiptap/extension-code-block-lowlight$' : '<rootDir>/node_modules/@tiptap/extension-code-block-lowlight/dist/index.js' ,
22
23
} ,
23
24
testEnvironment : 'jsdom' ,
24
25
testMatch : [ '**/?(*.)+(spec|test).[jt]s?(x)' ] ,
Original file line number Diff line number Diff line change 54
54
"homepage" : " https://github.com/learningequality/studio#readme" ,
55
55
"dependencies" : {
56
56
"@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" ,
65
64
"ajv" : " ^8.12.0" ,
66
65
"axios" : " ^1.11.0" ,
67
66
"broadcast-channel" : " ^5.1.0" ,
You can’t perform that action at this time.
0 commit comments