Installation¶
Basic installation and configuration¶
Install django-tinymce4-plus from PyPI:
Add tinymce to INSTALLED_APPS in settings.py for your Django project:
Add tinymce.urls to urls.py for your project:
Or with old-style regex url:
Plugins¶
If you want to use django-filebrowser-no-grappelli file manager, install this package. Refer to django-filebrowser documentation to learn how to install and configure the filebrowser application.
For TinyMCE spellchecker plugin, you need to install the pyenchant extra package:
or just
On some Linux systems, you may also need to install binary enchant libraries prior to installing pyenchant. For example, on Debian/Ubuntu use the following command:
Also, you need to add the necessary spelling dictionaries if they are missing from pyenchant default installation on your system.
Read the Language Configuration subsection about configuring the tinymce4-plus spellchecker.
Upgrade¶
It is strongly recommended to upgrade tinymce4-plus by specifying the exact application version you want to upgrade to:
Unless you are loading TinyMCE 4 from a CDN, after upgrading you need to run Django's collectstatic command to update TinyMCE 4 static files in your folder where your project's static files are served from: