Skip to content

Commit e31d145

Browse files
committed
django-prose-editor 0.18.1
1 parent 2b47d01 commit e31d145

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

CHANGELOG.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ Change log
44
Next version
55
~~~~~~~~~~~~
66

7+
- Updated the documentation to provide working examples by including the
8+
necessary dependencies. Thanks @benopotamus and @j4lib!
9+
- Updated the sanitization documentation to correctly say which HTML tags and
10+
attributes are actually allowlisted by which extensions.
11+
- Updated the Tiptap dependency and pre-commit hooks.
12+
13+
714
0.18 (2025-08-27)
815
~~~~~~~~~~~~~~~~~
916

@@ -169,7 +176,7 @@ Next version
169176
be disabled by configuring the extension when using a custom preset using
170177
``Link.configure({ enableTarget: false })``. Also removed ``nofollow`` and
171178
``noreferrer`` from the ``rel`` attribute of links since they do not make
172-
sense in a CMS context.
179+
sense in a CMS context. Thanks to @yoshson for getting this started!
173180
- Added integration testing using playwright.
174181
- Pruned the CI matrix a bit, stopped running tests using Python 3.11 and
175182
Django 5.0. Python 3.10 and Django 4.2 are still tested so we should be safe.
@@ -235,8 +242,8 @@ Next version
235242
0.7 (2024-08-02)
236243
~~~~~~~~~~~~~~~~
237244

238-
- Added the ``django-prose-editor[sanitize]`` which automatically installs the
239-
``nh3`` dependency. Thanks @plenaerts!
245+
- Added the ``django-prose-editor[sanitize]`` extra which automatically
246+
installs the ``nh3`` dependency. Thanks @plenaerts!
240247
- Properly restored the textarea element when destroying the editor.
241248
- Added more unittesting.
242249
- Supported using the ``ProseEditorFormField`` with widget instances, not just

django_prose_editor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.18.0"
1+
version = "0.18.1"

docs/legacy.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,6 @@ ProseMirror-style names are still supported:
6868
* Legacy mark names: ``strong`` → ``Bold``, ``em`` → ``Italic``,
6969
``strikethrough`` → ``Strike``, ``sub`` → ``Subscript``, ``sup`` → ``Superscript``,
7070
``link`` → ``Link``
71+
72+
Note that when using the legacy format, lists and tables automatically include
73+
the extensions they depend on.

0 commit comments

Comments
 (0)