jeecg富文字編輯器增加字型 仿宋

2022-02-22 00:53:02 字數 1321 閱讀 6740

主要修改三個檔案:plug-in\ueditor\ueditor.config.jsplug-in\ueditor\lang\en\en.jsplug-in\ueditor\lang\zh-cn\zh-cn.js

在該檔案中找到:fontfamily節點,取消該節點的全部注釋。

,'fontfamily':[,,

,,,,

,,,,

,]

同樣找到 fontfamily 節點,增加'fangsong': '仿宋'

'fontfamily':,

還是fontfamily節點,增加'fangsong':'fangsong'

附上部分中文字型的英文名,方便新增字型

主要修改三個檔案:plug-in\ueditor\ueditor.config.jsplug-in\ueditor\lang\en\en.jsplug-in\ueditor\lang\zh-cn\zh-cn.js在該檔案中找到:fontfamily節點,取消該節點的全部注釋。

,'fontfamily':[,,

,,,,

,,,,

,]

同樣找到 fontfamily 節點,增加'fangsong': '仿宋'

'fontfamily':,

還是fontfamily節點,增加'fangsong':'fangsong'

附上部分中文字型的英文名,方便新增字型

富文字編輯器

關於使用富文字編輯器的一些小坑 官網 1.專案 片 editor fail function xhr,editor,result custominsert function insertimg,result,editor this.editor.create this.editor.txt.html...

富文字編輯器

富文字編輯器,rich text editor,簡稱 rte,它提供類似於 microsoft word 的編輯功能。常用的富文字編輯器 kindeditor ueditor ckeditor 在頁面中新增js 用於初始化kindeditorallowfilemanager 是否允許瀏覽伺服器已上傳...

富文字編輯器

富文字編輯器,rich text editor,簡稱 rte,它提供類似於 microsoft word 的編輯功能。常用的富文字編輯器 kindeditor ueditor ckeditor 在頁面中新增js 用於初始化kindeditor allowfilemanager 是否允許瀏覽伺服器已上...