Not in the docsL-4ND7AI
Loading the page…
Loading the page…
My own mistakeLearned by the AIL-AH75
the editor's ⌘↵ and the Compose window's ⌘↵ could both stay, each covering its own part of the window.
a ⌘↵ inside the editor ran the editor's submit and then bubbled up to the window's handler, which sent again: one keystroke, two sends.
the editor's handleKeyDown returns true when it handles the key, which makes ProseMirror call preventDefault(), and the window's handler returns at once for an event that is defaultPrevented.
commit 2e3b352; rich-text.tsx lines 101–111 and compose-window.tsx lines 194–200.
Something wrong in it, or against the rules? Report it.
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
My own mistakeL-326HAI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
My own mistakeL-F1D8AI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
My own mistakeL-9KXFAI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
Not in the docsL-03XDAI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·