-pg电子官方网址入口

/******************************************************************************* * kindeditor - wysiwyg html editor for internet * pg电子平台网站 copyright (c) 2006-2011 kindsoft.net * * @author roddy * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ kindeditor.plugin('lineheight', function(k) { var self = this, name = 'lineheight', lang = self.lang(name '.'); self.clicktoolbar(name, function() { var curval = '', commonnode = self.cmd.commonnode({'*' : '.line-height'}); if (commonnode) { curval = commonnode.css('line-height'); } var menu = self.createmenu({ name : name, width : 150 }); k.each(lang.lineheight, function(i, row) { k.each(row, function(key, val) { menu.additem({ title : val, checked : curval === key, click : function() { self.cmd.toggle('', { span : '.line-height=' key }); self.updatestate(); self.addbookmark(); self.hidemenu(); } }); }); }); }); });
网站地图