轻松实现 CKfinder进驻CKEditor3.0
程序员文章站
2022-03-07 08:57:29
我想有没有更简单的解决方案呢,于是我去官方网站查看了文档,发现他们其实给我们一个极为简便的解决方案: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'
}
);
上一篇: CuteEditor 编辑器的字体样式无法控制的解决方法
下一篇: ckeditor 简单配置方法