kindeditor增加切换到简单功能按钮
This commit is contained in:
parent
92b79b40da
commit
d07a1b945f
|
@ -0,0 +1,15 @@
|
|||
KindEditor.plugin('less', function(K) {
|
||||
var self = this, name = 'less';
|
||||
self.plugin.less = {
|
||||
click : function(){
|
||||
if($("#define").css('display') == 'block'){
|
||||
$("#define").css('display','none')
|
||||
$("#full").css('display','block')
|
||||
}else if($("#full").css('display') == 'block'){
|
||||
$("#full").css('display','none')
|
||||
$("#define").css('display','block')
|
||||
}
|
||||
}
|
||||
}
|
||||
self.clickToolbar(name,self.plugin.less.click)
|
||||
});
|
Loading…
Reference in New Issue