Open VIXI0 opened 2 weeks ago
I am unable to reproduce the issue here. Please provide a repository or a CodeSandbox link that can reproduce the problem.
sadly I tryed to create a empty repo only with vuetify-pro-titap but i get this error
✘ [ERROR] Could not resolve "vuetify/components" ../node_modules/vuetify-pro-tiptap/lib/vuetify-pro-tiptap.mjs:4:447
✘ [ERROR] Could not resolve "vuetify" ../node_modules/vuetify-pro-tiptap/lib/vuetify-pro-tiptap.mjs:6:31
Steps to reproduce:
CANT REMOVE Image extension i want to add a token to image before it load but it doesnt matter what changes i do to the extension it doest reflect on tiptap, the weird thing is that it doesnt matter if i remove the extension it still show the option.
const extensions = [ BaseKit.configure({ placeholder: { placeholder: 'Escribe aquí...' } }), Bold, Italic, Underline, Strike, Color, Highlight, Heading, Link, // Image.configure({ // // Generate a VDivider after the button // divider: true, // token: TokenImage.value?TokenImage.value:'', // // Custom image tabs // // imageTabs: [{ name: 'SELECT', component: markRaw(SelectImage) }], // // hidden default tab // // hiddenTabs: ['upload'], // // custom upload function // async upload(file) {
// const formData = new FormData() // formData.append('file', file[0])
// try { // const { data } = await useAPI('/images', { // method: 'POST', // body: formData // })
// const imageUrl =
http://localhost:3000/images/${data.value.file}
// Ajusta según la respuesta de tu API // return Promise.resolve(imageUrl) // } catch (error) { // console.error('Error uploading image:', error) // return Promise.reject(error) // } // } // }), Video, Table, Fullscreen, History ]