New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

unchained-editor

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unchained-editor

A custom Django WYSIWYG editor widget.

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

Unchained Editor

A custom Django WYSIWYG editor widget.
Licensed under the GNU General Public License v3.0 (GPLv3).


Features

  • Rich Text Editing: Style text (bold, italic, etc.), insert images, videos, tables, and more.
  • Django Integration: A drop-in replacement for Django’s TextField or CharField in models and forms.
  • Toolbar Customization: Easily configure buttons for formatting, lists, links, alignment, images, etc.
  • CSS/JS Customization: Ships with default styles.css and script.js—override or expand them as needed.

Installation

  1. Install via PyPI:
pip install unchained-editor
  1. Add to settings.py
INSTALLED_APPS = [
    # ...
    'unchained_editor',
    # ...
]

UNCHAINED_EDITOR_LICENSE_KEY = "your license key (get from the author)"
  1. Add to urls.py in the main project
urlpatterns = [
    # ...
    path('unchained_editor/', include('unchained_editor.urls', namespace='unchained_editor')), 
    # ...
]
  1. Collectstatic to load WYSIWYG styles
python manage.py collectstatic

Usage

A. Model Field

# myapp/models.py
from django.db import models
from unchained_editor.fields import CustomWYSIWYGField

class Post(models.Model):
    title = models.CharField(max_length=200)
    content = CustomWYSIWYGField()
    # ...

In Django Admin or any ModelForm, content will now render as a rich text editor.

B. Form Field

# myapp/forms.py
from django import forms
from unchained_editor.widgets import CustomWYSIWYGWidget

class PostForm(forms.Form):
    title = forms.CharField(max_length=200)
    content = forms.CharField(widget=CustomWYSIWYGWidget())

License

Unchained Editor is released under the GNU General Public License v3.0 (GPLv3).

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc