87,907
社区成员
发帖
与我相关
我的任务
分享
var nicImageOptions2 = {
buttons : {
'image2' : {name : '表情', type : 'nicImageButton2', tags : ['IMG']}
}
};
var nicImageButton2 = nicEditorAdvancedButton.extend({
addPane : function() {
var facePane = new bkElement('DIV').setStyle({width: '270px'});
facePane.innerHTML="<a href='javascript:bkElement.setContent(\"abc\");'>这里是表情区</a>";
this.pane.append(facePane.noSelect());
},
addface : function() {
this.add("abc");
}
});
nicEditors.registerPlugin(nicPlugin,nicImageOptions2);