Django Tinymce4 Lite

TinyMCE 4 editor widget for Django
Alternatives To Django Tinymce4 Lite
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Awesome Wagtail1,803
2 months ago1
A curated list of awesome packages, articles, and other cool resources from the Wagtail community.
Django Summernote93422639 months ago73October 14, 202161mitPython
Simply integrate Summernote editor with Django project.
Booktype840
2 years ago6agpl-3.0JavaScript
Booktype is a free, open source platform that produces beautiful, engaging books formatted for print, Amazon, iBooks and almost any ereader within minutes.
Django Markdownx784116516 days ago53January 03, 202248otherPython
Comprehensive Markdown plugin built for Django
Django Markdown Editor7272032 days ago51March 31, 202235gpl-3.0JavaScript
Awesome Django Markdown Editor, supported for Bootstrap & Semantic-UI
Django Wysiwyg46814957 years ago14August 17, 201617mitHTML
A Django application for making Django textareas rich text editors. Certainly as a template tag and possibly as a form widget.
Django Mdeditor407
21a year ago19January 05, 202223gpl-3.0Python
Django-mdeditor is Markdown Editor plugin application for django base on Editor.md.
Django Concurrency388182a year ago23February 25, 20226mitPython
Optimistic lock implementation for Django. Prevents users from doing concurrent editing.
Django Widgy328
2 years ago66otherJavaScript
A CMS framework for Django built on a heterogenous tree editor.
Django Json Widget2819112 years ago8February 17, 202116mitPython
An alternative widget that makes it easy to edit the new Django's field JSONField (PostgreSQL specific model fields)
Alternatives To Django Tinymce4 Lite
Select To Compare


Alternative Project Comparisons
Readme

django-tinymce4-lite

https://travis-ci.org/romanvm/django-tinymce4-lite.svg?branch=master https://codecov.io/github/romanvm/django-tinymce4-lite/coverage.svg?branch=master

django-tinymce4-lite is a reworked fork of django-tinymce4. It provides a fully functional TinyMCE 4 editor widget that can be used in Django forms and models.

http://romanvm.github.io/django-tinymce4-lite/_images/screenshot.png

The application can use django-filebrowser-no-grappelli as a file manager for TinyMCE 4 to insert images and file links into edited text.

Warning: TinyMCE 4 is incompatible with TinyMCE 3. Read TinyMCE docs for more information about how to configure TimyMCE 4 editor widget.

Note: This package includes the latest available version of TinyMCE 4 - 4.9.2. Currently there are no concrete plans to support TinyMCE 5, and if it happens, it will be in a separate package with a different name.

Compatibility

  • Python: 3.5+
  • Django: 1.11+

Quick Start

Install django-tinymce4-lite:

$ pip install django-tinymce4-lite

Add tinymce to INSTALLED_APPS in settings.py for your Django project:

INSTALLED_APPS = (
    ...
    'tinymce',
)

Add tinymce.urls to urls.py for your project:

urlpatterns = [
    ...
    path('tinymce/', include('tinymce.urls')),
    ...
]

Or with old-style regex url:

urlpatterns = [
    ...
    url(r'^tinymce/', include('tinymce.urls')),
    ...
]

In your code:

from django.db import models
from tinymce import HTMLField

class MyModel(models.Model):
    ...
    content = HTMLField('Content')

In Django Admin the widget is used automatically for all models that have HTMLField fields. If you are using TinyMCE 4 in your website forms, add form.media variable into your templates:

<!DOCTYPE html>
<html>
<head>
  ...
  {{ form.media }}
</head>
<body>
...
</body>
</html>

Documentation

http://romanvm.github.io/django-tinymce4-lite

License

MIT license. See LICENSE.txt

Popular Django Projects
Popular Editor Projects
Popular Frameworks Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Python
Django
Editor
Wysiwyg
Tinymce