首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >python中的CKEditor filemanager

python中的CKEditor filemanager
EN

Stack Overflow用户
提问于 2014-04-14 16:01:39
回答 1查看 1.5K关注 0票数 2

我正在使用烧瓶(一个小型python框架)创建一个应用程序,我正在尝试集成CKEditor和filemanager (https://github.com/simogeo/Filemanager),但我无法做到这一点。

我遵循了自述文件,将filemanager.config.js更改为python语言,将urls添加到ckeditor配置中,但什么也没有(没有新的按钮,也没有浏览或上传)。

代码语言:javascript
复制
    filemanager: filemanager.config.js
    "options": {
        "culture": "en",
        "lang": "python",
        (...)

代码语言:javascript
复制
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&currentFolder=/Image/';
    config.filebrowserFlashBrowseUrl = 'http://localhost:5000/static/js/filemanager/index.html?type=Flash&currentFolder=/Flash/';
    config.filebrowserUploadUrl = 'http://localhost:5000/static/js/filemanager/connectors/php/filemanager.cfm?mode=add&type=Files&currentFolder=/File/';
    config.filebrowserImageUploadUrl = 'http://localhost:5000/static/js/filemanager/connectors/php/filemanager.cfm?mode=add&type=Images&currentFolder=/Image/';
    config.filebrowserFlashUploadUrl = 'http://localhost:5000/static/js/filemanager/connectors/php/filemanager.cfm?mode=add&type=Flash&currentFolder=/Flash/';

我真的需要能够浏览和上传ckeditor/python中的文件。有人能帮帮我吗。

谢谢

EN

回答 1

Stack Overflow用户

发布于 2014-04-28 14:05:40

我是你上面提到的主要的传呼机。正如自述文件中所说的那样,“由于最近进行了许多更改,现在只有和MVC连接器可用”。

第0.8版可以与Python一起工作。(我甚至不确定)。

如果这里有人想要修改现有的python连接器以支持FM上一个版本,那么对于所有python社区来说都是很棒的。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23064798

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档