【发布时间】:2016-04-06 09:52:26
【问题描述】:
我在sailsjs 中使用ckeditor 最新版本和完整包。我正在使用服务器功能的文件浏览。
//ckeditor/config.js
CKEDITOR.editorConfig = function( config ) {
config.filebrowserBrowseUrl = '/files';
};
assets/files 文件夹中有很多图片。当我点击浏览服务器时,会打开一个新标签,网址为 http://example.com/files?CKEditor=ck&CKEditorFuncNum=1&langCode=en
但我得到默认的未找到屏幕。但是,如果我从像http://example.com/files/ok.png 这样的网址访问图像。我可以在浏览器中看到它。但如果我要求 http://example.com/files 。我需要查看文件夹中的图像列表。我需要的是以下或文件浏览器。
【问题讨论】:
标签: ckeditor sails.js ckfinder