15 lines
531 B
JavaScript
15 lines
531 B
JavaScript
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)
|
|
}); |