轻松实现 CKfinder进驻CKEditor3.0
(编辑:jimmy 日期: 2024/11/9 浏览:3 次 )
我想有没有更简单的解决方案呢,于是我去官方网站查看了文档,发现他们其实给我们一个极为简便的解决方案:
http://docs.fckeditor.net/CKFinder/Developers_Guide/ASP.NET/CKEditor_Integration
复制代码 代码如下:
CKEDITOR.replace( '您要启用编辑功能的文本框',
{
filebrowserBrowseUrl : '/ckfinder/ckfinder.html',//启用浏览功能
filebrowserImageBrowseUrl : '/ckfinder/ckfinder.html?Type=Images',
filebrowserFlashBrowseUrl : '/ckfinder/ckfinder.html?Type=Flash',
filebrowserUploadUrl : '/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : '/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl : '/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
}
);
http://docs.fckeditor.net/CKFinder/Developers_Guide/ASP.NET/CKEditor_Integration
复制代码 代码如下:
CKEDITOR.replace( '您要启用编辑功能的文本框',
{
filebrowserBrowseUrl : '/ckfinder/ckfinder.html',//启用浏览功能
filebrowserImageBrowseUrl : '/ckfinder/ckfinder.html?Type=Images',
filebrowserFlashBrowseUrl : '/ckfinder/ckfinder.html?Type=Flash',
filebrowserUploadUrl : '/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : '/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl : '/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
}
);
下一篇:asp.net FCKeditor 2.6.3 配置说明