@qingjieshouliang
Current Path : /www/wwwroot/eblliwsm.com/c8efb1c6/Tpl/Public/ |
Current File : /www/wwwroot/eblliwsm.com/c8efb1c6/Tpl/Public/kinde.html |
<script type="text/javascript">var baiduPath="__PUBLIC__/";</script> <link rel="stylesheet" href="<{$adminName}>/kindeditor/themes/default/default.css" /> <link rel="stylesheet" href="<{$adminName}>/kindeditor/plugins/code/prettify.css" /> <script charset="utf-8" src="<{$adminName}>/kindeditor/kindeditor.js"></script> <script charset="utf-8" src="<{$adminName}>/kindeditor/lang/zh_CN.js"></script> <script charset="utf-8" src="<{$adminName}>/kindeditor/plugins/code/prettify.js"></script> <script> KindEditor.ready(function(K) { var editor1 = K.create('textarea[name="contents"]', { cssPath : '<{$adminName}>/kindeditor/plugins/code/prettify.css', uploadJson : '<{$adminName}>/kindeditor/php/upload_json.php', fileManagerJson : '<{$adminName}>/kindeditor/php/file_manager_json.php', 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>