Imperavi Redactor与feincms/管理集成/

2024-06-06 03:39:05 发布

您现在位置:Python中文网/ 问答频道 /正文

来自http://www.feincms.org/why/

FeinCMS comes with a bundled rich text content consisting of a single field. The default editor is a TinyMCE instance. Support for CKEditor is included, and other rich text editors can be easily integrated.

我正在尝试集成redactor(http://imperavi.com/redactor/) feincms/admin/--有什么手册或操作方法吗?在

我试过github.com/douglasmiranda/django-wysiwyg-redactor——只是没用

TypeError: $(...).redactor is not a function

在FireBug控制台中。在

您可以在github.com/douglasmiranda/django-wysiwyg-redactor/tree/master/redactor/static/redactor上找到测试的redactor文件

使用的包:Django==1.6.1+FeinCMS==1.9.1

任何帮助我都会感激的。在


Tags: djangotextorggithubcomhttpiswww
1条回答
网友
1楼 · 发布于 2024-06-06 03:39:05

在github上回答:

Basically you have to write two functions: One which is called when rich text editing functionality is added ("richify"), and another one which is called when functionality is removed ("poorify"). The second is necessary because rich text editors do not like being dragged around; when dragging a rich text content type, it is first poorified and then richified again as soon as the content type has been dropped into its final position.

更多信息 https://github.com/feincms/feincms/issues/512#issuecomment-33204227

相关问题 更多 >