Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexhill/tinymezzce4
TinyMCE4 integration for Mezzanine.
https://github.com/alexhill/tinymezzce4
Last synced: 7 days ago
JSON representation
TinyMCE4 integration for Mezzanine.
- Host: GitHub
- URL: https://github.com/alexhill/tinymezzce4
- Owner: AlexHill
- License: bsd-2-clause
- Created: 2014-09-03T07:55:48.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-27T04:19:15.000Z (over 9 years ago)
- Last Synced: 2023-03-23T16:49:24.655Z (over 1 year ago)
- Language: HTML
- Size: 240 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
======================
TinyMCE4 for Mezzanine
======================This app enables the latest TinyMCE4 for Mezzanine, including integration with Mezzanine's filebrowser_safe (just "filebrowser" from here on).
To use it, you need to make these three simple changes to your settings.py:
1. Add ``"tinymezzce4"`` to INSTALLED_APPS.
2. Add the line ``RICHTEXT_WIDGET_CLASS = 'tinymezzce4.widgets.TinyMceWidget'``
3. Add the line ``TINYMCE_SETUP_JS = '/static/tinymezzce4/js/tinymce_setup.js'``. To customise your TinyMCE4 setup, make your own modified copy of this file and change the ``TINYMCE_SETUP_JS`` to point to it.Restart your app, and you're done!
Notes:
* TinyMezzCE4 doesn't actually ship with TinyMCE; it uses the CDN-hosted version.
* ``"tinymezzce4"`` must appear before ``"filebrowser_safe"`` in ``INSTALLED_APPS``, because it overrides some of filebrowser's templates and static files. In a normal Mezzanine installation, ``filebrowser_safe`` is added to ``INSTALLED_APPS`` at a later stage, so anywhere will be fine.----------------------------------------------------
Warning: updates to filebrowser could break this app
----------------------------------------------------To allow integration with filebrowser, TinyMezzCE4 overrides some of its templates. If the filebrowser templates are
updated, your app will still be using the templates provided with TinyMCE4. This is a problem, but I aim to get the
necessary modifications into Mezzanine's ``filebrowser_safe``, which would solve it permanently.