feat(conversation): add copy text context menu action with preserved selection

This commit is contained in:
xintaofei
2026-04-17 23:20:01 +08:00
parent e86682dc66
commit 32b4c88582
12 changed files with 120 additions and 3 deletions

View File

@@ -88,7 +88,10 @@ export const ChatInput = memo(function ChatInput({
const isConnecting = status === "connecting"
return (
<div className="p-4 pt-0">
<div
className="p-4 pt-0"
onContextMenu={(event) => event.stopPropagation()}
>
{queue &&
queue.length > 0 &&
onQueueReorder &&