django-tinymce4-plus


Namedjango-tinymce4-plus JSON
Version 1.10.0 PyPI version JSON
download
home_pageNone
SummaryA Django application that provides a fully functional TinyMCE 4 editor widget for models and forms.
upload_time2025-10-26 16:31:43
maintainerNone
docs_urlNone
authorRoman Miroshnychenko (django-tinymce4-lite package author), Anfimov Dmitrii (fork author)
requires_python>=3.8
licenseMIT License
keywords django wysiwyg editor widget tinymce
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # django-tinymce4-plus

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-tinymce4-plus?style=for-the-badge&logo=python)](https://pypi.org/project/django-tinymce4-plus/)
[![PyPI](https://img.shields.io/pypi/v/django-tinymce4-plus?style=for-the-badge&logo=pypi)](https://pypi.org/project/django-tinymce4-plus/)
![Django versions](https://img.shields.io/pypi/djversions/django-tinymce4-plus.svg?style=for-the-badge&logo=django)


`django-tinymce4-plus` is a reworked fork of [django-tinymce4](https://github.com/dani0805/django-tinymce4). It provides a [TinyMCE 4](https://www.tinymce.com/) 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.

![TinyMCE 4 in Django Admin](docs/_static/html_form.png)

## Installation

```bash
pip install django-tinymce4-plus
```

## Usage
In your code:

```python
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:

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

## Documentation

For more details see [documentation](https://danfimov.github.io/django-tinymce4-plus/).

## Useful links

- [django-tinymce4](https://github.com/dani0805/django-tinymce4);
- [TinyMCE 4](https://www.tinymce.com/);
- [django-filebrowser](https://github.com/sehmaschine/django-filebrowser);
- [django-filebrowser-no-grappelli](https://github.com/smacker/django-filebrowser-no-grappelli);
- [TinyMCE docs](https://www.tinymce.com/docs/).

## License

MIT license. See [LICENSE](https://github.com/danfimov/django-tinymce4-plus/blob/main/LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "django-tinymce4-plus",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "django, wysiwyg, editor, widget, tinymce",
    "author": "Roman Miroshnychenko (django-tinymce4-lite package author), Anfimov Dmitrii (fork author)",
    "author_email": "Roman Miroshnychenko (django-tinymce4-lite package author) <roman1972@gmail.com>, Anfimov Dmitrii (fork author) <danfimov@yandex.ru>",
    "download_url": "https://files.pythonhosted.org/packages/23/ee/f9857a785f8ce149e564207be3d057592247df38c3d94ba1604374fe7a0e/django_tinymce4_plus-1.10.0.tar.gz",
    "platform": null,
    "description": "# django-tinymce4-plus\n\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-tinymce4-plus?style=for-the-badge&logo=python)](https://pypi.org/project/django-tinymce4-plus/)\n[![PyPI](https://img.shields.io/pypi/v/django-tinymce4-plus?style=for-the-badge&logo=pypi)](https://pypi.org/project/django-tinymce4-plus/)\n![Django versions](https://img.shields.io/pypi/djversions/django-tinymce4-plus.svg?style=for-the-badge&logo=django)\n\n\n`django-tinymce4-plus` is a reworked fork of [django-tinymce4](https://github.com/dani0805/django-tinymce4). It provides a [TinyMCE 4](https://www.tinymce.com/) editor widget that can be used in Django forms and models.\n\nIn 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.\n\n![TinyMCE 4 in Django Admin](docs/_static/html_form.png)\n\n## Installation\n\n```bash\npip install django-tinymce4-plus\n```\n\n## Usage\nIn your code:\n\n```python\nfrom django.db import models\nfrom tinymce import HTMLField\n\nclass MyModel(models.Model):\n    ...\n    content = HTMLField('Content')\n```\n\nIn 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:\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n    ...\n    {{ form.media }}\n</head>\n<body>\n    ...\n</body>\n</html>\n```\n\n## Documentation\n\nFor more details see [documentation](https://danfimov.github.io/django-tinymce4-plus/).\n\n## Useful links\n\n- [django-tinymce4](https://github.com/dani0805/django-tinymce4);\n- [TinyMCE 4](https://www.tinymce.com/);\n- [django-filebrowser](https://github.com/sehmaschine/django-filebrowser);\n- [django-filebrowser-no-grappelli](https://github.com/smacker/django-filebrowser-no-grappelli);\n- [TinyMCE docs](https://www.tinymce.com/docs/).\n\n## License\n\nMIT license. See [LICENSE](https://github.com/danfimov/django-tinymce4-plus/blob/main/LICENSE)\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A Django application that provides a fully functional TinyMCE 4 editor widget for models and forms.",
    "version": "1.10.0",
    "project_urls": {
        "Changelog": "https://github.com/danfimov/django-tinymce4-plus/docs/changelog.md",
        "Documentation": "http://dafimov.github.io/django-tinymce4-plus",
        "Homepage": "https://github.com/danfimov/django-tinymce4-plus",
        "Issues": "http://dafimov.github.io/django-tinymce4-plus/issues",
        "Repository": "https://github.com/danfimov/django-tinymce4-plus"
    },
    "split_keywords": [
        "django",
        " wysiwyg",
        " editor",
        " widget",
        " tinymce"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "25ec1dd9932cba514fa778d1960fdc747eb1272b2c981ac4463b1ab63f2668b6",
                "md5": "caaa35169620ccff58f7bac372353ccb",
                "sha256": "9c56bc880e2ab20e6c1758bfbeb5ef9b40bc5ce60e6c64786dcd9df5d02ccaf0"
            },
            "downloads": -1,
            "filename": "django_tinymce4_plus-1.10.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "caaa35169620ccff58f7bac372353ccb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 1177881,
            "upload_time": "2025-10-26T16:31:42",
            "upload_time_iso_8601": "2025-10-26T16:31:42.044699Z",
            "url": "https://files.pythonhosted.org/packages/25/ec/1dd9932cba514fa778d1960fdc747eb1272b2c981ac4463b1ab63f2668b6/django_tinymce4_plus-1.10.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "23eef9857a785f8ce149e564207be3d057592247df38c3d94ba1604374fe7a0e",
                "md5": "a02238dc2e0d1321af49d816ef7fd724",
                "sha256": "47f95adcb45b8a6ef661020356683aa95eafb8114996c18bd1de4cf8688b33e1"
            },
            "downloads": -1,
            "filename": "django_tinymce4_plus-1.10.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a02238dc2e0d1321af49d816ef7fd724",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 922220,
            "upload_time": "2025-10-26T16:31:43",
            "upload_time_iso_8601": "2025-10-26T16:31:43.675616Z",
            "url": "https://files.pythonhosted.org/packages/23/ee/f9857a785f8ce149e564207be3d057592247df38c3d94ba1604374fe7a0e/django_tinymce4_plus-1.10.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-26 16:31:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "danfimov",
    "github_project": "django-tinymce4-plus",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "django-tinymce4-plus"
}
        
Elapsed time: 2.83362s