mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rebuild the memo editor as a single CodeMirror 6 "decorated source" editor. The document is the raw markdown, stored verbatim and styled in place (markers stay visible), so the editor never serializes a tree back to markdown — removing the round-trip fidelity bug class (inline images, setext headings, ordered-list indentation, HTML entities) that the old editor needed per-case patches for. - MemoEditor/Editor: CodeMirror 6 + lang-markdown (GFM). Tokens, heading lines, #tag/@mention, and the autocomplete popover are styled in plain CSS (Editor/editor.css) with theme tokens, not a CSS-in-JS theme. - Tab/Shift-Tab nest/outdent list items (marker-aware, ordered items renumbered so nesting is CommonMark-valid); Escape blurs; #tag autocomplete sourced from useTagCounts. - Focus-mode toolbar reimplemented as markdown-text ops; active state read from the Lezer tree via the backend-agnostic formatting/commands catalog. - Remove the old serialize-back-to-markdown editor (its Editor dir, PlainEditor, the editor-mode system) and its now-unused dependencies (marked, textarea-caret, and the rich-text editor packages). - Consolidate toolbar components under Toolbar/. Read-only MemoContent rendering is unchanged. |
2 weeks ago | |
|---|---|---|
| .. | ||
| about-page.test.tsx | 2 weeks ago | |
| activity-calendar-tooltip.test.ts | ||
| auth-redirect.test.ts | ||
| calendar-cell-empty-clickable.test.tsx | 2 months ago | |
| derive-default-create-time.test.ts | 2 months ago | |
| editor-controller.test.ts | 2 weeks ago | |
| editor-decorations.test.ts | 2 weeks ago | |
| editor-formatting.test.ts | 2 weeks ago | |
| editor-heading-decorations.test.ts | 2 weeks ago | |
| editor-keys.test.ts | 2 weeks ago | |
| editor-tag-autocomplete.test.ts | 2 weeks ago | |
| editor.test.tsx | 2 weeks ago | |
| filtered-memo-stats.test.ts | 2 months ago | |
| formatting-toolbar.test.tsx | 2 weeks ago | |
| guards.test.tsx | 2 months ago | |
| hoist-new-memo.test.ts | 3 weeks ago | |
| hooks.test.tsx | 1 month ago | |
| i18n-locale-search.test.ts | 1 month ago | |
| locale-picker.test.tsx | 1 month ago | |
| location-picker.test.tsx | 2 months ago | |
| markdown-task-actions.test.ts | 1 month ago | |
| memo-body-compact.test.tsx | 1 month ago | |
| memo-content-compact-threshold.test.ts | 3 weeks ago | |
| memo-content-link-preview.test.tsx | 2 weeks ago | |
| memo-content-list.test.tsx | 1 month ago | |
| memo-content-paragraph.test.tsx | 2 months ago | |
| memo-content-security.test.tsx | ||
| memo-editor-cache.test.ts | ||
| memo-share-image.test.ts | ||
| mermaid-block.test.tsx | 2 months ago | |
| oauth.test.ts | ||
| paged-memo-list.test.tsx | 2 months ago | |
| placeholder-component.test.tsx | 2 months ago | |
| placeholder-pool.test.ts | 2 months ago | |
| preview-image-dialog.test.tsx | 1 month ago | |
| redirect-safety.test.ts | 2 months ago | |
| remark-tag.test.tsx | 2 weeks ago | |
| router-config.test.tsx | 2 months ago | |
| setup.ts | 2 weeks ago | |
| toolbar-compact-width.test.ts | 3 weeks ago | |
| use-auto-save.test.tsx | 2 weeks ago | |
| video-poster.test.tsx | 1 month ago | |