KindEditor.ready(function(K) {
var editor1 = K.create('textarea[name="content"]', {
items : ['source', 'preview', 'baidumap', 'pagebreak','flash', 'media', 'insertfile', 'insertorderedlist', 'clearhtml', 'quickformat', 'selectall', 'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold','underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage',
'link', 'unlink','fullscreen'],
uploadJson : '',
fileManagerJson : '',
allowFileManager : true,
afterCreate : function() {
var self = this;
K.ctrl(document, 13, function() {
self.sync();
K('form[name=myform]')[0].submit();
});
K.ctrl(self.edit.doc, 13, function() {
self.sync();
K('form[name=myform]')[0].submit();
});
}
});
prettyPrint();
});