1. Download the editor
Download the latest kindeditor version. Open examples/index.html to view the demo.
Download Page: http://www.kindsoft.net/down.php
2. Deployment Editor
Unzip the kindeditor-x.x.x.zip file and upload all the files to your websiteProgramDirectory, such as http: // your domain name/Editor/
Note
You can delete the following directories as needed and upload them to the server.
3. Modify the HTML page
<Head runat = "server"> <title> kindeditor ASP. net Text Editor </title> <link href = "themes/default/default.css" rel = "stylesheet" type = "text/CSS"/> <link href = "plugins/code /prettify.css "rel =" stylesheet "type =" text/CSS "/> <SCRIPT src =" plugins/code/prettify. JS "type =" text/JavaScript "> </SCRIPT> <SCRIPT src =" kindeditor. JS "type =" text/JavaScript "> </SCRIPT> <SCRIPT src =" Lang/zh_cn.js "type =" text/JavaScript "> </SCRIPT> <SCRIPT type =" text/JavaScript "> kindeditor. ready (function (k) {var editor1 = K. create ('# content1', {csspath: 'ins INS/code/prettify.css ', uploadjson: 'asp. net/upload_json.ashx ', filemanagerjson: '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>
Page effect after running: