Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolbar renders as unreadable text #307

Open
mcat56 opened this issue Nov 9, 2021 · 2 comments
Open

Toolbar renders as unreadable text #307

mcat56 opened this issue Nov 9, 2021 · 2 comments

Comments

@mcat56
Copy link

mcat56 commented Nov 9, 2021

"tiptap-vuetify": "^2.24.0"

Screen Shot 2021-11-09 at 11 41 24 AM

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

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'
})
@szabomikierno
Copy link

There is a typo in the docs for the icon group

@mcat56
In main.ts
iconsGroup: 'mdi' instead of iconsGroup: 'md'

@mcat56
Copy link
Author

mcat56 commented Nov 10, 2021

@szabomikierno thank you! that did it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants