simplemde-markdown-editor icon indicating copy to clipboard operation
simplemde-markdown-editor copied to clipboard

FontAwesome Icons not showing properly

Open ghost opened this issue 8 years ago • 6 comments

New font-awesome 5 icons are not showing properly. Also icons look a bit cramped as well screenshot

ghost avatar Feb 07 '18 13:02 ghost

having the same issue here! 🙈

kev2480 avatar Mar 01 '18 17:03 kev2480

That's because simplemde is downloading font-awesome. This is happening when using FontAwesome V5 which is now using SVG's instead of CSS + Webfonts.

Skrypt avatar Mar 06 '18 19:03 Skrypt

This is fixed in my fork inscryb-markdown-editor. This project is not longer active per the developer

CWharton avatar Mar 15 '18 19:03 CWharton

This happens because it is downloading fontAwesome from a CDN. When you include fontAwesome js and the simpleMDE js files it causes the simpleMDE icons to render improperly. There is an option "autoDownloadFontAwesome" which apparently will look to see if fontAwesome is already included but I cannot get it to work.

brennfoster avatar Dec 18 '18 17:12 brennfoster

seems like simplemde use class of fontAwesome under version 4 in fa-* style, but in fontAwesome 5, the class have changed to fas-*, and the heading and image icon are missing for the mismatch of fontAwesome (autoDownloadFontAwesome set false)

image

yuesir avatar Jul 27 '19 04:07 yuesir

This is fixed in my fork inscryb-markdown-editor. This project is not longer active per the developer

@CWharton

Thank you for forking and fixing. Appreciated.

Gigamick avatar Feb 05 '22 12:02 Gigamick