API Reference¶
django-tinymce4-lite¶
This application provides a rich-text WYSIWYG TinyMCE 4 widget for Django forms and models.
-
class
tinymce.
HTMLField
(*args, **kwargs)[source]¶ Bases:
django.db.models.fields.TextField
A text area model field for HTML content.
It uses the TinyMCE 4 widget in forms.
Example:
from django.db.models import Model from tinymce import HTMLField class Foo(Model): html_content = HTMLField('HTML content')