mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-04 23:44:41 +00:00
* fix(app): copy a code block without its fence when the drag starts beside it A drag that starts or ends in the gap beside a code block anchors the selection at the edge of the neighbouring block. Only the code is highlighted, but the range crossed the block boundary, so the copy took the Markdown path and wrapped the code in its fence. A selection now crosses a code block only when it selects content outside it. Message rows the range touches without selecting anything are dropped, and a selection whose content all lies inside one code block copies as that code. * fix(app): keep a selected image when copying it beside a code block An image selected next to a code block has no text, so the selection counted it as empty and copied only the code. Count images as selected content so the copy keeps the image and the fence, as it did before. --------- Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>