mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
Agents often write drafts as quotes meant to be pasted elsewhere. A plain quote now has a copy control on web, desktop, Android and iOS. It copies the quote's body without the `>` markers and with its nested Markdown. A nested quote, a code block or a Mermaid diagram inside it keeps its own control. Admonitions get no control. Web reads the rendered quote at press time, so a streaming quote copies what it shows, and writes the same two clipboard flavors as selection copy. A rendered Mermaid diagram copies as the fence it shows, and an admonition inside a copied quote copies as its `> [!TYPE]` source. Code blocks and quotes share one copy button with a Copied state and an error toast when the clipboard refuses the write. On compact layouts the control is always visible in a band above the quote body. On wide layouts it shows on hover or focus and the quote keeps a right gutter. Native code blocks and quotes share one header copy control with the Lucide Copy glyph. A quote reserves the code block's header band above its body, so the control never covers text at any font size. Native copy emits the quote body as written, and a copied fence grows longer than any fence inside its code. Supersedes #9429 and #9319. Refs discussion #9303. Co-authored-by: Pedro Vieira <pedro.vieira@dremio.com> Co-authored-by: Phieu Dinh <phieu@fiu.one>