fix(logic):prevent BlockNote widget content persistence across form subs #79 #80
No reviewers
Labels
No labels
bug
chore
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dunwright/django-blocknote!80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-79"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit resolves a memory leak and content persistence issue where BlockNote widget content would incorrectly carry over between form submissions, causing empty widgets to display stale content from previously edited widgets.
Root Cause:
Solution:
Key Changes:
frontend/src/core/widget-manager.ts:
frontend/src/core/editor.tsx:
django_blocknote/templatetags/blocknote_tags.py:
frontend/src/blocknote.ts:
Benefits:
Code Coverage Report
Summary
Report generated on 2025-11-11 06:15:09 UTC
Package Details