Commit Graph

3 Commits

Author SHA1 Message Date
boojack 3bea6df030 refactor(web): one memo component, MemoEditor, with view and edit modes (#6481) 2026-10-18 12:11:55 +08:00
johnnyjoygh 1a51572406 feat(web): add source mode to the memo composer
The composer can show the whole memo as Markdown text and edit it as
plain
text, using the editor's new source mode.

- Turn it on from the + menu ("Source Mode"); a small "Source" tag in
  the
  editor's corner names the mode and switches back to rich text. The
  first
  line leaves room for the tag.
- The choice is remembered per device and applies to every composer.
- Tags and tasks are read from the Markdown text in source mode, so tag
  suggestions still skip tags the memo already has; the checklist chip
  is
  hidden because it cannot apply.
- A saved caret remembers its mode and is not restored in the other one.
- DropdownMenuCheckboxItem gains `indicator="end"` for a trailing check,
  replacing a className override in the sidebar Tags menu.
2026-10-17 00:21:56 +08:00
boojack d2560e0877 chore: tweak memo actions 2026-10-07 07:22:42 +08:00