Open mcat56 opened 3 years ago
"tiptap-vuetify": "^2.24.0"
In my component:
<tiptap-vuetify id="editor1" placeholder="Preconditions" :extensions="extensions" </tiptap-vuetify>
In script:
import { TiptapVuetify, Heading, Bold, Italic, Strike, Underline, Code, Paragraph, BulletList, OrderedList, ListItem, Link, Blockquote, HardBreak, HorizontalRule, History } from 'tiptap-vuetify'
components: { TiptapVuetify },
in data:
extensions: [ History, Blockquote, Link, Underline, Strike, Italic, ListItem, BulletList, OrderedList, [Heading, { options: { levels: [1, 2, 3] } }], Bold, Link, Code, HorizontalRule, Paragraph, HardBreak ],
in main.ts
main.ts
import { TiptapVuetifyPlugin } from 'tiptap-vuetify' import 'tiptap-vuetify/dist/main.css' import 'vuetify/dist/vuetify.min.css' import vuetify from './plugins/vuetify'; Vue.use(vuetify) Vue.use(TiptapVuetifyPlugin, { vuetify, iconsGroup: 'md' })
There is a typo in the docs for the icon group
@mcat56 In main.ts iconsGroup: 'mdi' instead of iconsGroup: 'md'
iconsGroup: 'mdi'
iconsGroup: 'md'
@szabomikierno thank you! that did it!
"tiptap-vuetify": "^2.24.0"
In my component:
In script:
in data:
in
main.ts