A Django application that provides a fully functional TinyMCE 4 editor widget for models and forms.
Project description
django-tinymce4-plus
django-tinymce4-plus is a reworked fork of django-tinymce4. It provides a TinyMCE 4 editor widget that can be used in Django forms and models.
In this fork, all legacy and broken code has been cleaned in order to provide a simple but full-featured TinyMCE 4 experience in Django projects.
Installation
pip install django-tinymce4-plus
Usage
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
For more details see documentation.
Useful links
License
MIT license. See LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_tinymce4_plus-1.10.0.tar.gz.
File metadata
- Download URL: django_tinymce4_plus-1.10.0.tar.gz
- Upload date:
- Size: 922.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f95adcb45b8a6ef661020356683aa95eafb8114996c18bd1de4cf8688b33e1
|
|
| MD5 |
a02238dc2e0d1321af49d816ef7fd724
|
|
| BLAKE2b-256 |
23eef9857a785f8ce149e564207be3d057592247df38c3d94ba1604374fe7a0e
|
File details
Details for the file django_tinymce4_plus-1.10.0-py3-none-any.whl.
File metadata
- Download URL: django_tinymce4_plus-1.10.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c56bc880e2ab20e6c1758bfbeb5ef9b40bc5ce60e6c64786dcd9df5d02ccaf0
|
|
| MD5 |
caaa35169620ccff58f7bac372353ccb
|
|
| BLAKE2b-256 |
25ec1dd9932cba514fa778d1960fdc747eb1272b2c981ac4463b1ab63f2668b6
|