Froala编辑器不起作用(图标) [英] Froala editor not working (icons)

查看:170
本文介绍了Froala编辑器不起作用(图标)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Froala编辑器(免费版本),但我遇到的问题是在格式化按钮上看不到任何图标。

I'm using Froala editor (the free version) and I have the problem that I can't see any icons on the formating buttons.

有什么办法可以解决?谢谢!

Is there any way to fix it? Thanks!

推荐答案

您没有正确包含Font Awesome,或者如果您只是使用文件协议打开了HTML文件,则图标不会出现在Firefox中(请参见字体未显示 https://froala.com/wysiwyg-editor/browsers )。

You're not including Font Awesome correctly or if you have simply opened a HTML file using the file protocol the icons don't appear in Firefox (see Fonts Not Showing https://froala.com/wysiwyg-editor/browsers).

最好在 https://github.com/froala/wysiwyg-editor/blob/master/examples/basic.html#L6 以避免一切上面的问题。

It is best to include Font Awesome like on https://github.com/froala/wysiwyg-editor/blob/master/examples/basic.html#L6 in order to avoid all the issues above.

这篇关于Froala编辑器不起作用(图标)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆