Files
Netcatty/components/notes
bincxz 070a9f0daa fix(notes): retry the rich editor with the latest source draft
Codex review follow-ups for the unrenderable-markdown fallback:

- Retry now seeds the MDX import from the editor's latest accepted source
  draft. NotesManager debounces source drafts (300 ms), so retrying right
  after fixing the markdown could remount the rich editor with the stale
  pre-fix `value` prop and drop straight back into the fallback.
- The read-only preview fallback no longer mutates the note: NoteSourceEditor
  skips its custom Tab insertion, undo/redo handling and imperative
  insertAction when readOnly is set (the DOM readOnly attribute alone did
  not block those paths).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-27 20:22:40 +08:00
..