fix(ui): add blank line after inserted quotes

This commit is contained in:
Shantur Rathore
2026-02-19 10:40:51 +00:00
parent e84adebe61
commit c639e535b5

View File

@@ -351,7 +351,9 @@ export default function PromptInput(props: PromptInputProps) {
const blockquote = lines.map((line) => `> ${line}`).join("\n")
if (!blockquote) return
insertBlockContent(`${blockquote}\n`)
// End the blockquote with a blank line so the user's next line
// doesn't get parsed as a lazy continuation of the quote.
insertBlockContent(`${blockquote}\n\n`)
}
function insertCodeSelection(rawText: string) {