Django-prose-editor

Latest version: v0.10.4

Safety actively analyzes 722460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.10

~~~~~~~~~~~~~~~~~

- Changed the editor foundation to use `Tiptap <https://tiptap.dev/>__` and
bundled many of the available extensions. Tiptap uses ProseMirror under the
hood, but offers an extension framework which I'd have to reinvent and
there's really no point to do that. The change should be backwards compatible
if you only used the Python-level integration. The JavaScript integration has
changed a lot, ``DjangoProseEditor.createEditor`` doesn't exist anymore.
- Introduced support for presets. See the "Customization" heading in the
README.
- Introduced hidden menu buttons; it's now possible to show and hide buttons
depending upon the editor selection.
- Fixed a misbehavior where the ``ProseEditorFormField`` would override a
manually defined ``ProseEditorWidget``.
- Added a dependency on `django-js-asset
<https://pypi.org/project/django-js-asset/>__` for our JavaScript and JSON
shipping needs.
- Changed the way editor dialogs are built from unsafe ``innerHTML``
manipulation to proper DOM manipulation.
- Updated the pre-commit hooks.
- Updated the bundled material icons font.
- Made the ESBuild watch mode report build successes again.

0.9

~~~~~~~~~~~~~~~~

- Updated the ProseMirror dependencies.
- Added Python 3.13 to the CI matrix.
- Disable interactions and the menubar on the editor when the textarea is
``disabled``.

0.8

~~~~~~~~~~~~~~~~

- Made the link button only active when the cursor is inside a link.
- Added docs on read the docs.
- Updated the ProseMirror dependencies.
- Added extremely hacky german translations for the dialogs.
- Added Django 5.1 to the CI matrix.
- Allowed specifying the heading levels for the menu. The schema itself supports
all heading levels (1-6) as before.

0.7

~~~~~~~~~~~~~~~~

- Added the ``django-prose-editor[sanitize]`` which automatically installs the
``nh3`` dependency. Thanks plenaerts!
- Properly restored the textarea element when destroying the editor.
- Added more unittesting.
- Supported using the ``ProseEditorFormField`` with widget instances, not just
with widget classes.
- Documented the CSS custom properties. Thanks carltongibson!
- Converted the block type dropdown back to a button group.
- Changed the CSS so that block type buttons look active instead of disabled
when in a block of the respective type.
- Stopped showing the 'remove link' button as active when inside a link -- it's
not active, just enabled.
- Improved the styles of the dialog a bit.

0.6

~~~~~~~~~~~~~~~~

- Added support for highlighting soft hyphens.
- Updated all dependencies.
- Moved the Django administration interface CSS overrides into their own file,
and only load them if necessary so that using the editor outside the admin
requires using less ``!important`` overrides.

0.5

~~~~~~~~~~~~~~~~

- Updated all dependencies.
- Stopped putting anything into the global scope in ``init.js``.
- Added support for showing typographic characters.
- Changed the editor initialization to make the initial ``textarea`` a child of
the ``.prose-editor`` div, and changed the CSS to ``display: none
!important;`` so that the ``textarea`` is only shown in exceptional
circumstances, when people really really want it.

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.