当前位置:LaySNS首页 > 技术交流

编辑器升级插件正确的使用方法

楼主:莫云 时间:2019-04-01 12:23:10 点击:1402 回复:1

路径:/www/wwwroot/www.moanw.com/template/c_fanhua/html/articles_add.html

c_fanhua是模板名称 自己用的那个模板 自己找

钩子位置

{:hook('bjq')}


编辑器扩展

原版:editor.config.menus = ['bold', 'fontfamily', 'fontsize', 'forecolor', 'link', 'unlink', 'emotion', 'img',, 'insertcode', 'fullscreen'];

修改: editor.config.menus = ['bold', 'fontfamily', 'fontsize', 'forecolor', 'link', 'unlink', 'emotion', 'img',  'video', 'mpsan','dete', 'insertcode', 'fullscreen'];


 

作者: 莫云 时间:2019-04-01 12:32:30

还有就是 如果都修改好了 发现编辑器 有空白的地方  就检查一下有没有去掉  ,   有的话 就添加上


0.121259s