CKEditor 4 - How to set default font?

前端 未结 3 1415
一个人的身影
一个人的身影 2021-01-06 00:05

I use CKEditor 4 and I want to set default font. I added \"font_defaultLabel\" with my font choice but it doesn\'t work ...

I found this solution on the Internet but

3条回答
  •  臣服心动
    2021-01-06 00:51

    CKeditor uses a default css file for it's content: contents.css You can change the used font(s) there. Just make sure you use the same css (or just the font) when displaying the CKeditor content without CKeditor.

提交回复
热议问题