Django Tiptap Suite
A modern, high-quality, and feature-complete rich text editor for Django based on Tiptap v2. It offers a premium, Notion-like distraction-free writing experience with fixed & floating toolbars, responsive designs, automatic dark-mode support matching Django Admin, and CSRF-secure local image uploads.
📖 Read the Step-by-Step Getting Started Guide
Features
- 🦄 Modern UI/UX: Designed to look like Notion, Ghost, and Linear—no legacy 2010s rich-text container vibes.
- ⚡ Slash Command Menu (
/): Type/to open a quick-access dropdown for headings, lists, quotes, dividers, tables, and images. - 💬 Bubble Menu: A floating formatting context menu that automatically appears when selecting text.
- 📊 Rich Table Support: Insert and edit fully-featured tables with header rows directly from the toolbar or
/menu. - 📝 Task Lists: Add checkbox task lists for interactive notes.
- 🔠 Underline & Text Align: Format text with underline and align left, center, right, or justify.
- 🖥️ Fullscreen Mode: Switch the editor to screen-filling focus mode with a single click.
- 🎨 Dark Mode Native: Automatically detects and adapts to the Django Admin light/dark modes.
- 🖼️ CSRF-Safe Local Image Uploads: Secure drag-and-drop & file uploads with file size limit validation and configurable date-based directory paths.
- ⚙️ Zero Configuration: Works out of the box with standard Django forms and model fields.
- 🛠️ Configurable: Define global styles, placeholders, enabled extensions, and image upload limits via Django Settings.
Installation
Install the package via pip:
pip install django-tiptap-suite
Setup
- Add
django_tiptap_suiteto yourINSTALLED_APPSinsettings.py:
INSTALLED_APPS = [
# ...
"django.contrib.staticfiles",
"django_tiptap_suite",
# ...
]
- Include the package's URLs in your project's main
urls.py(required for CSRF-safe image uploads):
from django.urls import path, include
urlpatterns = [
path("admin/", admin.site.urls),
path("tiptap/", include("django_tiptap_suite.urls", namespace="django_tiptap_suite")),
]
Usage
In Django Models
The easiest way to use the editor is via the HTMLField:
from django.db import models
from django_tiptap_suite.fields import HTMLField
class Post(models.Model):
title = models.CharField(max_length=200)
content = HTMLField()
In Django Forms / Admin
You can also apply the widget manually to any standard Django TextField:
from django import forms
from django_tiptap_suite.widgets import TiptapEditorWidget
from .models import Post
class PostForm(forms.ModelForm):
class Meta:
model = Post
fields = "__all__"
widgets = {
"content": TiptapEditorWidget(config={
"placeholder": "Start typing your masterpiece here...",
}),
}
Customization & Configuration
You can globally configure settings for the editor by adding TIPTAP_SUITE_CONFIG to your settings.py:
# settings.py
TIPTAP_SUITE_CONFIG = {
# Custom placeholder text
"placeholder": "Type '/' for commands or start writing...",
# Enable/disable specific Tiptap extensions
"enabled_extensions": [
"bold", "italic", "underline", "strike", "heading",
"bulletList", "orderedList", "blockquote", "codeBlock",
"link", "image", "textAlign", "table", "taskList"
],
# Hide the '/' slash commands menu entirely
"disable_slash_commands": False,
# Style customization
"inject_css": True, # Auto-injects default CSS styles when rendering HTML
"css_class": "tiptap-content", # The wrapper CSS class name
# Image upload configuration
"image_upload_path": "tiptap_uploads/%Y/%m", # Custom datetime formatted upload path
"image_max_size": 5 * 1024 * 1024, # Max upload size limit (e.g. 5MB)
}
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for django-tiptap-suite 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_tiptap_suite-1.0.5.tar.gz | 579.9 kB | With provenance | Details for django_tiptap_suite-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_tiptap_suite-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for django_tiptap_suite-1.0.5-py3-none-any.whl |
Total release size: 787.4 kB
Release files / django_tiptap_suite-1.0.5.tar.gz
| Download URL | django_tiptap_suite-1.0.5.tar.gz |
|---|---|
| Size | 579.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f10fd2656e5f8fcf5be61025ffa41c4f383517cbb942e2dddf40b2e91ab58f27
|
|
BLAKE2b-256 checksum How to use checksums |
18cd41c5cf89e6b1720bbf6ad80d18395957c28691ad043d65bacba3ccf8a6bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 27, 2026.
Transparency logRelease files / django_tiptap_suite-1.0.5-py3-none-any.whl
| Download URL | django_tiptap_suite-1.0.5-py3-none-any.whl |
|---|---|
| Size | 207.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a642528391dfab58f3614e5002803d37848d648bf6cfd2843ca519f838f9bb26
|
|
BLAKE2b-256 checksum How to use checksums |
9c7d76cd22af31178a5b6ee5a3dbe284920b16d0c11e6d265902b51be9ef10c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 27, 2026.
Transparency logSecurity for django-tiptap-suite 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for django_tiptap_suite-1.0.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.