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
Metadata
Release files for django-tinymce4-plus 1.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_tinymce4_plus-1.10.0.tar.gz | 922.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_tinymce4_plus-1.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.1 MB
Release files / django_tinymce4_plus-1.10.0.tar.gz
| Download URL | django_tinymce4_plus-1.10.0.tar.gz |
|---|---|
| Size | 922.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47f95adcb45b8a6ef661020356683aa95eafb8114996c18bd1de4cf8688b33e1
|
|
BLAKE2b-256 checksum How to use checksums |
23eef9857a785f8ce149e564207be3d057592247df38c3d94ba1604374fe7a0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.5
|
Release files / django_tinymce4_plus-1.10.0-py3-none-any.whl
| Download URL | django_tinymce4_plus-1.10.0-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c56bc880e2ab20e6c1758bfbeb5ef9b40bc5ce60e6c64786dcd9df5d02ccaf0
|
|
BLAKE2b-256 checksum How to use checksums |
25ec1dd9932cba514fa778d1960fdc747eb1272b2c981ac4463b1ab63f2668b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.5
|