Repository navigation
feat: add a / block menu to the page editor - #77
Merged
Merged
Conversation
AmrMsCLL
force-pushed
the
feat/block-menu
branch
from
October 8, 2026 18:38
8f67134 to
d138a1e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step N1 from
.claude/.Plans/as2026-10-07-strata-boards-and-notion-notes.md. Stacked on #76.Typing
/in a page opens a filtered block menu: text, heading, subheading, bulleted, numbered and check lists, quote, code block, divider, image (opens the file picker and uploads like a paste) and link to a page (starts an@mention). Arrow keys and Enter pick, Escape closes, and the typed/queryis removed when a block is chosen. It is built on@tiptap/suggestion, already installed; no new dependency. Callouts, toggles and tables join the menu once their extensions are approved.The mention popup and the new menu now share one list component and one popup renderer, and the menu styles are renamed from
mention-*tosuggestion-*.Checked in the browser on the local stack:
/chec+ Enter makes a checklist, and@Teststill finds and links a board. Tests: newtest/block-menu.spec.tsx(a real Tiptap editor),test/notes.spec.tsx.