摘要:
1)、kindedtor中让编辑框默认为“HTML代码/源代码”模式[javascript]view plaincopyprint?如上所示:在K.create('#content', { 前添加 KindEditor.options.designMode = false; 设置成false即为打开是默认为源代码模式。2)、Javascript无法获取kindedtor中textarea里的值。在创建的时候加上:afterBlur 属性:afterBlur: function(){this.sync();}如下:[javascript]view plaincopyprint?K 阅读全文