WordPress Editor to increase the Chinese font TinyMCE Advanced plugin

WordPress is a very popular blog system,The advantage is to be used to make full-featured CMS ......

But the disadvantage Well,May be too simple editor is one of the background。

Although it supports the Chinese do very well,But for this one editor,I am afraid it is not so tough。For example, not criticized for our common font options,Nor can you change the text size,Instead, it is the title Ratings,As the body,Only "paragraph" such a default option。

The benefit is the ability to naturally and are compatible with a variety of subjects,Because all of the labels are defined in the format of the current theme among the style.css file,The text,You only need to define a label is enough。But I am afraid that the majority of the Chinese users do not like such a simple setting,In this case you need to WordPress TinyMCE editor that comes with some enhanced (not so much enhance the,As it is about its anti-customization,The default WordPress hidden features deceives back! )

To recommend a widget:TinyMCE Advanced

This plug-in interface is very simple,Functions as an,让你能够全面定制 TinyMCE 的完整功能!使用插件的设置页面,By simply dragging you can edit and arrange all function buttons,This code was added buttons more convenient than the,Also more beautiful,Although more than a plug-in,But compared buttons to arrange each time the wonderful work of editing the article to make you feel uncomfortable speaking,Also vindicated。

TinyMCE Advanced settings interface

TinyMCE Advanced settings interface

Adding Chinese Fonts

After installation and commissioning good plug,You will find,Everything was perfect,But - the font is in English ah!

Yes, that's right,Yes,TinyMCE default Chinese font is no alternative,But it is supported,We just need to add TinyMCE menu which can be。

Taking into account the future plug-in upgrade,You can also upgrade WordPress Theme,Then your changes will be destroyed,So routing is recommended that you useSubtopicsWay to add modifications to TinyMCE。

In short,We add the following statement function.php document to the current theme in the Font menu of TinyMCE into Chinese (codes fromRobins blog):

Effect Code Display

Effect Code Display

Original article written by Gerber drop-off:R0uter's Blog » WordPress Editor to increase the Chinese font TinyMCE Advanced plugin

Reproduced Please keep the source and description link:https://www.logcg.com/archives/947.html

About the Author


The non-declaration,I have written articles are original,Reproduced, please indicate the link on this page and my name。


Leave a Reply

Your email address will not be published. Required fields are marked *