看它的demo支持上传,是用的ckfinder,结果看ckfinder与ckeditor的集成文档,发现写得实在太不详细了,不知道是否作者故意的。。。有没有什么简单的方法?
|
|
ckeditor的文档是挺恶心的, 其实很简单,不知道为何就是没说清楚
其实就是指定一个BrowseUrl以及一个UploadUrl, BrowseUrl对应的页面调用 UploadUrl对应的页面返回类似 还有不清楚的玩一下那个demo应该可以明白~ 更新 更多详细的介绍: http://docs.cksource.com/CKEditor3.x/DevelopersGuide/FileBrowser%28Uploader%29 http://docs.cksource.com/CKEditor3.x/DevelopersGuide/FileBrowser%28Uploader%29/CustomFileBrowser 更新2 提交时需要把ckeditor的iframe中的内容读取出来,否则不会自动提交:
|
|||
|
|
|
|
If your articles are always this hlepufl, "I'll be back." |
||
|
|
|
|
The paragon of understanding these isesus is right here! |
||
|
|
|
|
That's an ingenious way of thnkiing about it. |
||
|
|
