memos/web/src/components/MemoEditor/Toolbar
johnnyjoygh e3c231fcac feat(web): add code block and strikethrough to formatting toolbar
Reorganize the toolbar into inline marks (bold, italic, strikethrough,
inline code) and blocks (lists, fenced code block), with the Type glyph
for the paragraph/heading picker. Marks derive from the shared MARKS
table; code block toggling reuses the same selection-probe lookup so
toggle-off always agrees with the button's active state. A fresh empty
strikethrough pair (~~~~) parses as a tilde code fence, so empty-pair
removal and code-block detection recognize doubled mark tokens.
2026-07-07 22:08:33 +08:00
..
EditorToolbar.tsx chore(editor): toggleable formatting toolbar 2026-07-02 09:19:34 +08:00
FormattingToolbar.tsx feat(web): add code block and strikethrough to formatting toolbar 2026-07-07 22:08:33 +08:00
index.ts refactor: rebuild the editor on CodeMirror as decorated source 2026-06-28 22:59:14 +08:00
InsertMenu.tsx chore(editor): flatten insert menu 2026-07-05 20:43:02 +08:00
VisibilitySelector.tsx feat(web): add max-columns memo feed layout 2026-07-06 23:55:36 +08:00