fix(newsfeed): load saved content when reopening the edit modal

Sync modal editor state from the updated feed on open, clear editFeed
on reset, and remount TextEditor so a second edit shows the latest HTML
instead of stale content.
This commit is contained in:
Rotimi Best
2026-06-11 20:32:39 +01:00
parent bbd243d214
commit 89e44d4fab
6 changed files with 116 additions and 31 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ pre-commit:
run: pnpm format:check
fail_text: |
❌ Prettier formatting check failed!
Please run 'pnpm format' to fix formatting issues and try again.
Please run 'pnpm format:changed' or 'pnpm format' to fix formatting issues and try again.