Issue summary
https://reactjs.org/docs/error-decoder.html?invariant=321 when the "ai" feature is present in some but not all draftail editors on a page.
Steps to reproduce
- Start a new project with
wagtail start myproject and set up wagtail-ai
- add a page type with a RichTextField(features=[]) and a streamfield containing a RichTextBlock(features=["ai"])
- migrate, create a page with that type
- The editor loads fine initially, but adding a RichTextBlock to the streamfield causes draftail to crash
Additional information
No response
Can be reproduced
Not confirmed
Technical details
- uv run python --version
Python 3.14.0
- uv pip list | grep wagtail
wagtail 7.4.1
wagtail-ai 3.1.0
- uv pip list | grep django
django 5.2.14
Working on this
If you would like to contribute to this issue, follow these steps:
- Confirm that the issue is reproducible, either on a fresh Wagtail project or the bakerydemo.
- Once confirmed, view our contributing guidelines, add a comment to the issue once you're ready to start.
Issue summary
https://reactjs.org/docs/error-decoder.html?invariant=321 when the "ai" feature is present in some but not all draftail editors on a page.
Steps to reproduce
wagtail start myprojectand set up wagtail-aiAdditional information
No response
Can be reproduced
Not confirmed
Technical details
Python 3.14.0
wagtail 7.4.1
wagtail-ai 3.1.0
django 5.2.14
Working on this
If you would like to contribute to this issue, follow these steps: