First thanks for your work. I tried tiptap on it's own and if I managed to have the editor working, I couldn't understand how to add the menu (bold, etc.) With your plugin, it worked right away.
But I'm struggling to have the tooltip when you hover the menu (bold, italic...) in French.
I followed your example for Nuxt :
I've got @nuxtjs/vuetify and tiptap-vuetify dependencies in package.json
I've got the plugin and it's declared in nuxt.config.js (plugins and build)
import Vue from 'vue'
import { TiptapVuetifyPlugin } from 'tiptap-vuetify'
import 'tiptap-vuetify/dist/main.css'
As you say it's "automatic detection of the current language through the Vuetify" I added some configuration (following Vuetify doc) and maybe it's here I'm wrong:
- nuxt.config.js
vuetify: {
optionsPath: './vuetify.options.js`
}
- vuetify.options.js (at the same level as nuxt.config.js)
But tooltip are still in English. My only locales in i18n for now is French so what am I missing?
Thanks to anyone for any help or advice. If you need any more informations, please let me know.
Cheers!
Hi,
First thanks for your work. I tried tiptap on it's own and if I managed to have the editor working, I couldn't understand how to add the menu (bold, etc.) With your plugin, it worked right away.
But I'm struggling to have the tooltip when you hover the menu (bold, italic...) in French.
I followed your example for Nuxt :
export default ({ app }) => { Vue.use(TiptapVuetifyPlugin, { vuetify: app.vuetify, iconsGroup: 'mdi', }) }
vuetify: { optionsPath: './vuetify.options.js` }
export default function ({ app }) { return { lang: { t: (key, ...params) => app.i18n.t(key, params), }, } }