django-tinymce4-lite

 March 9, 2016     0 comments

As I mentioned in my previous post, I did a major rework of django-tinymce4 package. At first, I intended to fix a few features and then submit a pull request to the original package, but I couldn't stop myself and re-wrote almost everything.smileI did not want to interfere with the original authors' intentions and vision about how to develop their package, so I decided to release my re-worked fork as a separate package on PyPI under the name django-tinymce4-lite. The "lite" part here means that I cleaned all non-working or legacy code (or the code I couldn't figure out, to be honest) with the intention to provide a fully-functional TinyMCE 4 experience in the simplest possible manner.

I fixed the interoperability with django-filebrowser and django-filebrowser-no-grappelli packages that can now be used in "image" and "link" dialogs of TinyMCE 4 editor. Also I wrote a new spellchecker service compatible with TinyMCE 4. The spellchecker uses the free open-source pyenchant library.

The django-tinymce4-lite package is now used in this blog to provide WYSIWYG editing experience, and this post has been written in TinyMCE 4 editor provided by this package.

Because, in my opinion, bad documentation is the plague of open-source projects (everybody likes to write the code, but nobody likes to document it), I tried to document django-tinymce4-lite as thoroughly as possible so that a new user wouldn't have any difficulty to implement the package in their Django projects. Hopefully, I was able to achieve that goal.

The django-tinymce4-lite package can be installed by pip:

$ pip install django-tinymce4-lite

The django-tinymce4-lite source code is available on GitHub: https://github.com/romanvm/django-tinymce4-lite. It has MIT license, as the original django-tinymce4 package. You can find the most up-to-date package documentation on GitHub pages: http://romanvm.github.io/django-tinymce4-lite/. The documentation on Pythonhosted is published automatically by Travis CI and may not include the most recent updates.

  DjangoPythonTinyMCE