使用kindeditor时,取不到值
KindEditor.ready(function (K) { var editor1 = K.create('#txtContent', { cssPath: '/kindeditor/plugins/code/prettify.css', uploadJson: '/kindeditor/asp.net/upload_json.ashx', fileManagerJson: '/kindeditor/asp.net/file_manager_json.ashx', allowPreviewEmoticons: false, filterMode: true, allowImageUpload: true, afterBlur: function () { this.sync(); K.ctrl(document, 13, function () { K('form[name=myform]')[0].submit(); }); K.ctrl(this.edit.doc, 13, function () { K('form[name=myform]')[0].submit(); }); }, items: [ 'source', '|', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', 'insertunorderedlist', '|', 'emoticons', 'image', 'multiimage', 'media', 'about'] }); prettyPrint(); });
afterBlur: function () { this.sync(); K.ctrl(document, 13, function () { K('form[name=myform]')[0].submit(); }); K.ctrl(this.edit.doc, 13, function () { K('form[name=myform]')[0].submit(); }); },
http://zzs223224.blog.163.com/blog/static/1789655220142231154912/
喜欢的朋友请帮忙点个赞!!!