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 11import { ref , onUnmounted } from 'vue' ;
22import { Editor } from '@tiptap/vue-2' ;
33import StarterKitExtension from '@tiptap/starter-kit' ;
4- import UnderlineExtension from '@tiptap/extension-underline' ;
54import { Superscript } from '@tiptap/extension-superscript' ;
65import { Subscript } from '@tiptap/extension-subscript' ;
76import { 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 ,
Original file line number Diff line number Diff 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)' ] ,
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments