kindeditor的使用

插件下载地址:http://kindeditor.net/

插件使用简介:http://kindeditor.net/doc3.php

在ASP中使用kindeditor:

安装官网步骤可以成功显示插件,大部分功能也是可以用的。只有上传图片的功能不能使用,始终出现404错误。

错误原因:配置错误。

应该要指定上传文件处理程序,代码如下:

KindEditor.ready(function(K) {
     window.editor = K.create('#editor_id',{
            uploadJson : '../kindeditor/asp/upload_json.asp',
            fileManagerJson : '../kindeditor/asp/file_manager_json.asp',
           allowFileManager : true
           });
});

原文地址:https://www.cnblogs.com/xiaoxiaojing/p/4142985.html