CKEditor使用笔记
ValidatorReuest=false;
CKFinder是CKEditor的插件
添加bin\Release下的CKFinder.dll的引用
core ckfinder.js ckfinder.html config.ascx解压到CKFinder的目录
按照文档修改CKEditor的config.js,
将上传的处理程序设定为CKFinder,注意路径
config.js的修改
CKEDITOR.editorConfig = function(config) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; var ckfinderPath = "/js"; //改成ckfinder的绝对路径,网站的绝对路径,不是以应用为根目录 config.filebrowserBrowserUrl = ckfinderPath + "/ckfinder/ckfinder.html"; config.filebrowserImageBrowserUrl = ckfinderPath + "/ckfinder/ckfinder.html?Type=Images"; config.filebrowserFlashBrowserUrl = ckfinderPath + "/ckfinder/ckfinder.html?Type=Flash"; config.filebrowserUploadUrl = ckfinderPath + "/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files"; config.filebrowserImageUploadUrl = ckfinderPath + "/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images"; config.filebrowserFlashUploadUrl = ckfinderPath + "/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash"; };
本博客(liqipeng)除非已明确说明转载,否则皆为liqipeng原创或者整理,转载请保留此链接:https://www.cnblogs.com/liqipeng/archive/2012/07/18/4576205.html。
本博客(liqipeng)除非已明确说明转载,否则皆为liqipeng原创或者整理,转载请保留此链接:https://www.cnblogs.com/liqipeng/archive/2012/07/18/4576205.html。
如果你觉得这篇文章对你有帮助或者使你有所启发,请点击右下角的推荐按钮,谢谢,:)