panyong 399c0c39dc 始宁农业管理后台:内容管理-通知管理 | 2 年之前 | |
---|---|---|
.. | ||
langs | 2 年之前 | |
plugins | 2 年之前 | |
skins | 2 年之前 | |
README.md | 2 年之前 | |
package.json | 2 年之前 | |
tinymce.min.js | 2 年之前 |
Now tinymce's cdn, all plugins are downloaded separately, but there are dozens of plugins. So the init is very slow. Therefore, this project will build all plugins into tinymce.min.js
through Offical Build, speeding up the init speed. Didn't do anything else.
And
Currently Tinymce's lang does not have cdn. So create an npm package, let lang supports cdn.
Cnd in jsdelivr
If you don't mind the init speed, it is recommended to use the official cdn.
Cnd in jsdelivr
tinymce.init({
selector: "textarea", // change this value according to your HTML
language: "zh_CN", // select language
language_url: "https://cdn.jsdelivr.net/npm/tinymce-lang/langs/zh_CN.js" // site absolute URL
});