forked from chatboxai/chatbox
-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Labels
featureAuto-created labelAuto-created label
Description
Description
Code blocks in chat messages lack a convenient way to copy their content. Users must manually select and copy code.
Current Behavior
- Code blocks display syntax-highlighted code
- No copy functionality available
- Users must manually select text to copy
Expected Behavior
- Copy button appears when hovering over code blocks
- One-click copying of entire code block content
- Visual feedback on successful copy
Use Cases
- Quick code snippet copying
- Improved developer experience
- Reduces manual selection errors
Proposed Solution
Add a copy button overlay that:
- Appears on hover over code blocks
- Copies code content to clipboard on click
- Shows "Copied!" feedback briefly
Download https://cap.so/ to record your screen (use Studio mode). Export as an mp4, and drag and drop into an issue comment below.
Metadata
Metadata
Assignees
Labels
featureAuto-created labelAuto-created label