Wagtail-fedit

Latest version: v1.6.1

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

Scan your dependencies

Page 2 of 3

1.5.2

Additions

* Add test for HTTP GET action views
* Add README section for settings
* Add hooks to README hooks section
* Add examples of custom adapters in README

Fixes

* Fix snippet publish view

1.5.1

Updates
* README for custom adapter explanation
* README for `adapter_help` command
* Adapters can be fully customized with callbacks into custom JS functions
* Quicklink in block-wrappers to view block in Wagtail admin if `admin` is provided to `BlockAdapter`
* Allow adapters to specify `absolute_tokens` which act like boolean flags inside of the template-tag. These are not parsed as variables!

Additions
* `adapter_help` management command
* 3 new adapters, `BaseFieldFuncAdapter`, `BaseBlockFuncAdapter`, `BackgroundImageFieldAdapter`
* Docstrings for functions in most files
* `WAGTAIL_FEDIT_SIGN_SHARED_CONTEXT` setting to determine if shared context should be signed with a secret key.
* Adapters can provide form attributes (in the iFrame) which in turn can control editor size, size can be `full`, `large` or unspecified for default size.
* Use template-tag to dynamically include all required CSS for your custom adapters with the `wagtail_fedit.register_css` hook.
* Use template-tag to dynamically include all required JS for your custom adapters with the `wagtail_fedit.register_js` hook.
* `wagtail_fedit.field_editor_size` hook to control size of modal for FieldAdapters.
* Check for `editor_size` on block's `meta` attribute to control editor size for BlockAdapters.

Changes
* Move `wrap_adapter` to `utils.py` to avoid import-loops
* Check for `block_id` and `block` if `block` is not `BoundBlock` for the `BlockAdapter`
* Improvements to frontend CSS
* Initialize `FeditToolbarComponent` object with request instead of passing to methods.

Removed
* Multiple unused functions
* Multiple unused templates
* Request argument from methods `FeditToolbarComponent` methods.

1.5.0

* Run context processors after re-rendering when the form was submitted.
* Add tests for context_processors functionality.

1.4.9

* Fix CSS for editable- html
* Fix reinitialization of JS class
* Add tests for BlockAdapter
* Add ID attribute for adapter template
* Fix context variables/rendering if not available
* Updates to README

1.4.7

* Using `BaseAdapter` class to represent editable- blocks.
* Added basic tests for adapters.
* Removed Block/Field edit views in favor of Adapter- based view.
* Simpler sharing of context between multiple lifecycles.
* Template tags are now adressed with the adapter ID. Example:
html
{% fedit_field %}
{% fedit_block %}

are now respectively transformed into:
html
{% fedit field %}
{% fedit block %}

1.4.6

* Improve icon management
* 5 Most recent edits shown when on publish view.
* Fix translations for audit log
* Add Cancel Workflow action
* Add tests
* Render instead of raising exception when block ID is not available (fixes revision diffs- page server errors.)

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.