Ueditor Rich text editor adds other languages
Ueditor Rich text editorSometimes the fonts that come with are not enough for the project, or the customer has special requirements, then we need to give it toUeditor Rich text editorAdd custom fonts for customers to choose from, soThere are more operations to add fonts to our editor project
1.Add in the paths of the two screenshots respectively siyuanheiti,siyuansongti Font
Complete the above steps, we can see that the font list of the editor has been added. siyuanheiti,siyuansongti The font of the font has no effect, because neither our system nor project siyuanheiti,siyuansongti Font. This is normal.
2.Add to the editor siyuanheiti,siyuansongti Fonts, copy the font package in the corresponding folder, and then introduce a new font package into the style.


3.This is done, select in the editor siyuanheiti,siyuansongti You can see the font effect we customized.

4.The above steps already allow us to see the font effect in the editor, but the ultimate goal of adding fonts is to display them in the project. So this step is to add fonts to the project. Here is a project as an example.
In the front-end file, introduce the corresponding font package and call the style of the font package in the front-end style file.


The above is shared by Suyou.com with everyone" Ueditor Rich text editor adds other languages", thank you very much for your patience to read this article, we will provide you with more information on reference or learning communication. We can also provide you with: Enterprise website construction, website imitation, website copying, imitation site, foreign trade website construction, foreign trade website construction, company official website productionFor services, our company serves customers with the service concept of "integrity, professionalism, pragmatism and innovation". If you need cooperation, please scan the code to consult, and we will serve you sincerely.
TAG Label:
Previous article: How to quickly collect published articles on WeChat public accounts