python中的CKEditor文件管理器
CKEditor filemanager in python
我正在使用flask(一个小型python框架)创建一个应用程序,并尝试集成CKEditor和filemanager(https://github.com/simogeo/Filemanager)但我做不到。
我遵循了自述文件,将filemanager.config.js更改为python语言,将url添加到了ckeditor config中,但什么都没有(没有新按钮,没有浏览或上传)。
filemanager: filemanager.config.js
"options": {
"culture": "en",
"lang": "python",
(...)
和
ckeditor: config.js
config.filebrowserBrowseUrl: 'http://localhost:5000/static/js/filemanager/index.html'
config.filebrowserImageBrowseUrl = 'http://localhost:5000/static/js/filemanager/index.html?type=Images¤tFolder=/Image/';
config.filebrowserFlashBrowseUrl = 'http://localhost:5000/static/js/filemanager/index.html?type=Flash¤tFolder=/Flash/';
config.filebrowserUploadUrl = 'http://localhost:5000/static/js/filemanager/connectors/php/filemanager.cfm?mode=add&type=Files¤tFolder=/File/';
config.filebrowserImageUploadUrl = 'http://localhost:5000/static/js/filemanager/connectors/php/filemanager.cfm?mode=add&type=Images¤tFolder=/Image/';
config.filebrowserFlashUploadUrl = 'http://localhost:5000/static/js/filemanager/connectors/php/filemanager.cfm?mode=add&type=Flash¤tFolder=/Flash/';
我真的需要能够在ckeditor/python中浏览和上传文件。有人能帮帮我吗。
感谢
我是您上面提到的主要文件管理器。正如自述文件中所说,"由于最近进行了许多更改,现在只有PHP和MVC连接器可用"。
0.8版可能适用于Python。(我甚至不确定)。
如果这里有人想调整现有的python连接器以支持FM上一个版本,这对所有python社区来说都是非常好的。
相关文章:
- 如何在elfinder插件(一个文件管理器插件)上获得上传前事件
- 如何在 elfinder(一个 jquery 文件管理器插件)中只显示文件夹列表
- 响应式文件管理器 9 在 TinyMCE 4 中打开空白对话框
- 响应式文件管理器.防止在选择图像时模式关闭
- Elfinder文件管理器,带有多个按钮更新文本输入
- 将响应式文件管理器与创建用户会话配合使用
- TinyMce 和响应式文件管理器设置
- 如何在tinyMCE中成功集成文件管理器
- 用于文件管理器的javascript/部分逻辑
- 响应式文件管理器回调函数
- 我可以在没有文件管理器的情况下上传图像吗
- 在QML中编写文件管理器
- 是否可以将本地文件从文件管理器拖放到浏览器并获取文件's uri
- 如何创建一个类似于Github's文件管理器的动画
- 为什么富文件管理器插入filemanager.config.json而不是插入图像到文本字段
- 如何在响应文件管理器插件与TinyMCE编辑器中的子文件夹中获取文件
- Simogeo文件管理器查看/上传
- 无法在预览Repsonsive文件管理器中单击“图像”
- 角度文件管理器使用情况.如何
- python中的CKEditor文件管理器