Skip to content

Akhil/notes milkdown editor - #247

Merged
itsmeakhil merged 3 commits into
mainfrom
akhil/notes-milkdown-editor
Jul 13, 2026
Merged

Akhil/notes milkdown editor#247
itsmeakhil merged 3 commits into
mainfrom
akhil/notes-milkdown-editor

Conversation

@itsmeakhil

Copy link
Copy Markdown
Collaborator

No description provided.

itsmeakhil and others added 3 commits July 14, 2026 00:18
Notes previously used a ~27k-line custom "Notion-style" block editor that
stored a bespoke ContainerNode tree as Note.content. Replace it with Milkdown
Crepe, storing plain markdown.

- Add NoteMarkdownEditor (Crepe): slash menu, toolbar, tables, code, images
  (onUpload -> existing Firebase handler), placeholder, class-based dark mode.
- Rewire NotionEditor to markdown in/out: save, template apply, .md/.html
  export (HTML via marked), word count; all surrounding chrome preserved.
- Make noteContentUtils self-contained and markdown-aware, with a hardened
  legacy tree->markdown converter (headings, ordered/unordered lists, links,
  images, code, GFM tables, inline formatting) for lazy migration of old notes.
- Convert noteTemplates to markdown strings; document Note.content as markdown.
- Delete components/ui/rich-editor entirely (69 files).
- Add unit tests for the converter (14 cases).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mydevtools-tech Building Building Preview, Comment Jul 13, 2026 8:09pm

@itsmeakhil
itsmeakhil merged commit 929bfba into main Jul 13, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant