feat(post-form): text-only draft persistence (U6)
Mirror text field values (incl. EasyMDE content) to localStorage on every edit and restore them on load. Clear the draft only when the server confirms a successful post (.notices.success) — the invariant that guarantees text survives validation failures, save errors, and session expiry (login form shown → form absent → draft left intact for post-reauth restore). Photos are not persisted (File/Blob can't serialize); on restore an inline hint says they need re-selecting. Refs R19 (preserve-on-failure), R20, KTD6.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user