Skip to content
New issue

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

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

Already on GitHub? # to your account

Icons of the toolbar not show. #10

Open
oriolrg opened this issue May 1, 2020 · 8 comments
Open

Icons of the toolbar not show. #10

oriolrg opened this issue May 1, 2020 · 8 comments

Comments

@oriolrg
Copy link

oriolrg commented May 1, 2020

I implement you markdown-editor in my project, but the icons of de toolbar not show.
Only show btn-outline-secondary

@nasa8x
Copy link
Owner

nasa8x commented May 3, 2020

@jpacitto
Copy link

jpacitto commented May 28, 2020

Even after implementing fontawesome cdn, still having issues with toolbar alignment not being as shown in demo

2020-05-28 18_13_06-test1

@nasa8x
Copy link
Owner

nasa8x commented May 29, 2020

Please import css
import 'v-markdown-editor/dist/v-markdown-editor.css';

or use cdn

https://cdn.jsdelivr.net/npm/v-markdown-editor/dist/v-markdown-editor.css

@jpacitto
Copy link

I already had 'v-markdown-editor/dist/v-markdown-editor.css' imported in main.js of my vuejs project but the icon alignment and style are still the same as the image above. This was testing in a bare bones vuejs project.

2020-05-29 04_47_02-main js - test - Visual Studio Code
2020-05-29 04_48_18-App vue - test - Visual Studio Code
2020-05-29 04_48_45-● index html - test - Visual Studio Code

@pevandenburie
Copy link

Is there a way to use FontAwsome icons using vue-fontawesome component instead of using a CDN ?

I imported icons the documented way, but still icons are not loading:

import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { fab } from '@fortawesome/free-brands-svg-icons'
import { fas } from '@fortawesome/free-solid-svg-icons'
library.add(fab, fas)
// Vue.component(FontAwesomeIcon.name, FontAwesomeIcon)
Vue.component('font-awesome-icon', FontAwesomeIcon)

thanks

@glensc
Copy link

glensc commented Oct 6, 2020

I stumbled exactly to this problem. the setup instructions lack completely mentioning that fontawesome fonts must be loaded.

first, it shows tiny pixels, but if only adding fontawesome css to page, the icons appear but they are misplaced like on the screenshot of the third comment:

@sheey11
Copy link

sheey11 commented Nov 29, 2020

needs to import morioh.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/morioh/dist/css/morioh.min.css">

@elsiosanchez
Copy link

How to know which are the list of supported icons for toolbars

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

No branches or pull requests

7 participants