我正在使用烧瓶(一个小型python框架)创建一个应用程序,我正在尝试集成CKEditor和filemanager (https://github.com/simogeo/Filemanager),但我无法做到这一点。
我遵循了自述文件,将filemanager.config.js更改为python语言,将urls添加到ckeditor配置中,但什么也没有(没有新的按钮,也没有浏览或上传)。
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中的文件。有人能帮帮我吗。
谢谢
发布于 2014-04-28 14:05:40
我是你上面提到的主要的传呼机。正如自述文件中所说的那样,“由于最近进行了许多更改,现在只有和MVC连接器可用”。
第0.8版可以与Python一起工作。(我甚至不确定)。
如果这里有人想要修改现有的python连接器以支持FM上一个版本,那么对于所有python社区来说都是很棒的。
https://stackoverflow.com/questions/23064798
复制相似问题