System.register(["./pinia-legacy.js","./vue-legacy.js"],(function(s){"use strict";var n;return{setters:[function(){},function(s){n=s.M}],execute:function(){s("default",n({components:{},template:'
同时更新维护 tinymce-plugin 和 @npkg/tinymce-plugin 中。(二者同步)
\n{}"><script src="https://unpkg.com/tinymce-plugin"></script>\n
或
\n{}"><script src="https://unpkg.com/@npkg/tinymce-plugin"></script>\n
{}">npm i tinymce-plugin 或 npm i @npkg/tinymce-plugin \n
{}">yarn add tinymce-plugin -D 或 yarn add @npkg/tinymce-plugin -D\n
或
\n这些文件可以在 unpkg 或者jsDelivr 这些 CDN 上浏览和下载,自行存放
\n{}"><script src="https://unpkg.com/@npkg/tinymce-plugin"></script>\n
{}"> import "tinymce-plugin";\n
通过配置参数 skeletonScreen
来开启 tinymce
富文本框编辑器的骨架屏功能 ,改善 tinymce
富文本编辑器加载过长用户体验不佳
提示
\n要使用 skeletonScreen
必须 引入 tinymce-plugin 或 @npkg/tinymce-plugin
{}">import "tinymce-plugin"; \ntinymce.init({\n ...\n skeletonScreen: true,\n ...\n})\n
使用效果\n
\n{}">import "tinymce-plugin"; //作为一些插件的必要依赖\nimport "tinymce-plugin/plugins/tpIndent2em";\nimport "tinymce-plugin/plugins/tpLayout";\nimport "tinymce-plugin/plugins/tpImportword";\n
或
\n{}">import "@npkg/tinymce-plugin"; //作为一些插件的必要依赖\nimport "@npkg/tinymce-plugin/plugins/tpIndent2em";\nimport "@npkg/tinymce-plugin/plugins/tpLayout";\nimport "@npkg/tinymce-plugin/plugins/tpImportword";\n