Django-content-editor

Latest version: v7.1.0

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

Scan your dependencies

Page 1 of 5

7.1

================

- Changed the plugin buttons grid to allow collapsing empty rows.
- Disabled dragging plugins when changes are not allowed anyway.
- Stopped collapsing plugin initially when they contain errors.
- Added automatic scrolling while dragging plugins.
- Fixed a bug where a plugin with multiple fieldsets wouldn't collapse
completely.
- Added Django 5.1 to the CI.
- Introduced sections. Content editor inlines can now define a ``sections``
attribute; recommended values include 0 (the default), 1 (open one section)
and -1 (close one section). Those sections are collapsed and moved as one
unit during editing.
- Added a red border to the region dropdown of plugins in unknown regions.

7.0

================

- Switched from ESLint to biome.
- Completely revamped the plugin buttons control. It now doesn't take up any
place on the side anymore but instead appears when clicking the insertion
target.
- Added plugin icons to inlines instead of the generic drag handle.

6.5

================

- Fixed the content editor initialization: The active region was only set after
saving and not initially.
- Removed the maximum height from content editor inlines.
- Started showing the target indicator again when dragging over collapsed
plugins.
- Allowed dragging plugins to positions *after* existing plugins, not just
*before*. This allows dragging a plugin directly to the end, finally.
- Changed the content editor to work better if changing the parent object isn't
allowed. Plugin buttons (which didn't do anything) are now hidden, and the
region tabs work correctly.
- Updated the bundled material icons font.
- Preferred the admin form's model instance to the ``original`` context
variable. This lets us pick better content editor defaults.
- Started hiding all plugin buttons when showing an unknown region.

6.4

================

- Stopped showing plugin buttons if user has no permission to add the plugin.
- Added Python 3.11, Django 4.1 and 4.2 to the CI matrix.
- Removed Django 4.0 from the CI (3.2 is still there).
- Added ``Type`` to ``content_editor.models.__all__`` since it is used in
feincms3.
- Tweak the plugin button positioning a bit.
- Added padding to form rows in tabbed fieldsets below 767px.
- Switched to hatchling and ruff.
- Started restoring not only the region but also the collapsed state of inlines
and the vertical scroll position.

6.3

===================

.. _6.3: https://github.com/matthiask/django-content-editor/compare/6.2...6.3

- Increased the ``max-height`` of content editor fieldsets so that stupidly
high fieldsets stay completely visible.
- Changed missing icons to a generic extension icon instead of the question
mark.
- Added a system check for the ``regions`` attribute of content editor inlines.
It verifies that the attribute is either ``None`` or an iterable.

6.2

===================

.. _6.2: https://github.com/matthiask/django-content-editor/compare/6.1...6.2

- Changed the handling of ``formset:added`` and ``formset:removed`` for
compatibility with Django 4.1.
- **POSSIBLY BACKWARDS INCOMPATIBLE:** Disallowed region keys which do not have
the form of an identifer, e.g. ``content-main``. Such keys cannot be used in
templates etc. and are therefore a bad idea.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.