Skip to content

Shared RichTextEditorToolbar for focused editor in ProposalEditor#605

Open
valentin0h wants to merge 5 commits intodevfrom
rich-text-edititing
Open

Shared RichTextEditorToolbar for focused editor in ProposalEditor#605
valentin0h wants to merge 5 commits intodevfrom
rich-text-edititing

Conversation

@valentin0h
Copy link
Collaborator

@valentin0h valentin0h commented Feb 15, 2026

Re-adds the RichTextEditorToolbar to the proposal editor, shared across multiple CollaborativeTextField instances. A useFocusedEditor hook uses requestAnimationFrame to handle the blur/focus race when switching between editors, keeping the sticky toolbar bound to whichever field has focus. Buttons are disabled when no editor is focused, and an E2E test covers formatting, active state, and cross-field persistence.

@vercel
Copy link
Contributor

vercel bot commented Feb 15, 2026

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

Project Deployment Actions Updated (UTC)
app Ready Ready Preview Feb 16, 2026 8:31pm

Request Review

@valentin0h
Copy link
Collaborator Author

valentin0h commented Feb 16, 2026

Visual Changes — Proposal Editor

Before (dev)

before

After (this PR)

after

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