zinnia-wysiwyg-tinymce
November 13, 2014 ยท View on GitHub
====================== zinnia-wysiwyg-tinymce
Zinnia-wysiwyg-tinymce is a package allowing you to edit your entries
with TinyMCE_, including a dedicated filebrowser plugin.
Installation
-
Install the package on your system: ::
$ pip install zinnia-wysiwyg-tinymce
django-tinymce_ andsorl-thumbnail_ will also be installed as dependencies if they are not already present on the system. -
Install and configure in your project django-tinymce and sorl-thumbnail accordingly to their documentation:
-
Register the
'zinnia_tinymce'in yourINSTALLED_APPSafter the'zinnia'application. -
Include this URLset into your project's urls.py: ::
url(r'^tinymce/zinnia/', include('zinnia_tinymce.urls')),
-
Run the
syncdbormigratecommand. -
You are done !
TinyMCE can be customized by overriding the
admin/zinnia/entry/tinymce_textareas.js template.
.. _TinyMCE: http://www.tinymce.com/ .. _django-tinymce: https://github.com/aljosa/django-tinymce .. _sorl-thumbnail: https://github.com/mariocesar/sorl-thumbnail