<link rel="stylesheet" href="/admin/editor/themes/default/default.css" />
	<link rel="stylesheet" href="/admin/editor/plugins/code/prettify.css" />
	<script charset="utf-8" src="/admin/editor/kindeditor.js"></script>
	<script charset="utf-8" src="/admin/editor/lang/zh_CN.js"></script>
	<script charset="utf-8" src="/admin/editor/plugins/code/prettify.js"></script>
    
 

<script>
    KindEditor.ready(function (K) {
        var editor1 = K.create('#{id}', {
            width: "{width}",
            height: "{height}",
            cssPath: '/admin/editor/plugins/code/prettify.css',
            uploadJson: '/admin/editor/asp.net/upload_json.ashx',
            fileManagerJson: 'editor/asp.net/file_manager_json.ashx',
            allowFileManager: true,
            afterCreate: function () {
                var self = this;
                K.ctrl(document, 13, function () {
                    self.sync();
                    K('form[name=example]')[0].submit();
                });
                K.ctrl(self.edit.doc, 13, function () {
                    self.sync();
                    K('form[name=example]')[0].submit();
                });
            }
        });
        prettyPrint();
    });
	</script>
