我猜你用config.js定制了ckeditor.如果是这样,请在配置文件中添加'filebrowserImageBrowseUrl'和'filebrowserImageUploadUrl'.
CKEDITOR.editorConfig = function( config ) {
// Other configs
config.filebrowserImageBrowseUrl = '/ckeditor/pictures';
config.filebrowserImageUploadUrl = '/ckeditor/pictures';
};
Run Code Online (Sandbox Code Playgroud)
我自己也在找这个。
您可以购买“CkFinder”来执行此操作,插入后,将出现“上传”选项卡。
但是,有一个免费版本可以与 CKeditor 完美集成,提供相同的功能:
这就是您使用 ckeditor 将文件上传到服务器(并从服务器中选择文件!!)所需的内容。
| 归档时间: |
|
| 查看次数: |
10001 次 |
| 最近记录: |