kindEditor如何隐藏不需要的图标 kindEditor如何隐藏不需要的图标,比如隐藏增加图片的图标查了一下使用手册,allowUpload这个属性没起作用,不知道还有哪些属性能控制 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 var editor; KindEditor.ready(function (K) { editor = K.create('textarea[name="content1",name="content2",name="content3"]', { resizeType: 2, cssPath: ['../plugins/code/prettify.css', 'index.css'], allowPreviewEmoticons: false, allowImageUpload: false, items: [ 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', 'insertunorderedlist', '|', 'emoticons'] }); });其中items是你要显示的按钮名字,不用的就不用列出。还有这个控件的Demo里面有这样的事例,看看就OK 如何点击行变色的效率如何提高,我的代码会很卡!解决给分 js页面内部传值问题??? 急急! 求在js做的树节点上右键弹出菜单 且菜单里面的选项可实现页面跳转 模态窗口子页面调用父页面的js函数问题 用javascript创建一个对象,这个对象能调用的方法是? 当打开页面的时候让按钮失去焦点? 标签式按纽 js库和js框架是一个概念吗 前天gu1dai发的无限右弹的菜单--〉横向版() autocomplete显示不出效果,求大神指点 Chrome的开发者工具修改JS区块不生效是怎么回事儿? jquery autocomplete插件使用方法
KindEditor.ready(function (K) {
editor = K.create('textarea[name="content1",name="content2",name="content3"]', {
resizeType: 2,
cssPath: ['../plugins/code/prettify.css', 'index.css'],
allowPreviewEmoticons: false,
allowImageUpload: false,
items: [
'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist', '|', 'emoticons']
});
});
其中items是你要显示的按钮名字,不用的就不用列出。
还有这个控件的Demo里面有这样的事例,看看就OK