Skip to content

docs(website): persist editor mode and fix menus#74

Merged
ocavue merged 5 commits into
masterfrom
feat/persist-mode-sessionstorage
Jun 18, 2026
Merged

docs(website): persist editor mode and fix menus#74
ocavue merged 5 commits into
masterfrom
feat/persist-mode-sessionstorage

Conversation

@ocavue

@ocavue ocavue commented Jun 18, 2026

Copy link
Copy Markdown
Member

Persist the demo's editor mode in sessionStorage (validated on read) so a refresh keeps the selected mode, with the logic collected in a useEditorMode hook. Also fixes the tag and wikilink autocomplete menus, which rendered blank rows because the demo search handlers returned string[] instead of the TagItem[] / WikilinkItem[] the menus expect.

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
meowdown Ready Ready Preview, Comment Jun 18, 2026 2:04pm

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 94.62% 1479 / 1563
🔵 Statements 92.22% 1637 / 1775
🔵 Functions 93.28% 361 / 387
🔵 Branches 84.38% 870 / 1031
File CoverageNo changed files found.
Generated in workflow #293 for commit 090c491 by the Vitest Coverage Report Action

@pkg-pr-new

pkg-pr-new Bot commented Jun 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/prosekit/meowdown/@meowdown/core@74
npm i https://pkg.pr.new/prosekit/meowdown/@meowdown/react@74

commit: 090c491

@ocavue ocavue changed the title feat(website): persist editor mode in sessionStorage docs(website): persist editor mode Jun 18, 2026
@ocavue ocavue changed the title docs(website): persist editor mode feat(website): persist editor mode and fix tag/wikilink menus Jun 18, 2026
@ocavue ocavue changed the title feat(website): persist editor mode and fix tag/wikilink menus docs(website): persist editor mode and fix menus Jun 18, 2026
@ocavue ocavue marked this pull request as ready for review June 18, 2026 14:06
@ocavue ocavue merged commit 2f62b5f into master Jun 18, 2026
8 checks passed
@ocavue ocavue deleted the feat/persist-mode-sessionstorage branch June 18, 2026 14:06
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