1.复制文件:文件夹 /u , 文件上传目录 /upload
2.复制app_code里的文件 Config.cs 、ConfigHandler.cs 、CrawlerHandler.cs 、Handler.cs 、ListFileHandler.cs 、NotSupportedHandler.cs 、PathFormater.cs 、UploadHandler.cs
3.uc文件夹里 kindeditor.ascx 加载js
4.初始化编辑器:
这是内容框:
<script id="content" name="content" type="text/plain" style="width:100%;height:500px;"><%=content.Content %></script>
这是初始化js:
<script type="text/javascript">
UE.getEditor('content', {
theme: "default", //皮肤
lang: 'zh-cn' //语言
});
</script>
备注:
编辑器的各种配置项修改:ueditor.config.js
各文件路径修改:config.json