轻松实现 CKfinder进驻CKEditor3.0
程序员文章站
2022-06-16 19:42:00
我想有没有更简单的解决方案呢,于是我去官方网站查看了文档,发现他们其实给我们一个极为简便的解决方案:http://docs.fckeditor.net/ckfinder/d...
我想有没有更简单的解决方案呢,于是我去官方网站查看了文档,发现他们其实给我们一个极为简便的解决方案:
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'
}
);
上一篇: 如何在Unity中检测死循环和卡死