建议 / Feature Request: 为 Markdown 内容添加「复制」按钮 / Add a "Copy" button for rendered Markdown content
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- css, markdown
- Domain
- frontend
Research direction
No files or tests are named. Start by locating the component that renders Markdown and code blocks, then inspect how rendered content and raw Markdown are available to the UI. Done means code blocks have a Copy action with copied feedback, using the raw source; the whole-message action is optional.
Written by the indexing model from the issue text.
Description
问题描述 / Problem
目前界面中渲染的 Markdown 内容(代码块、回复文本等)没有「复制」按钮,用户只能手动鼠标拖选,长段内容或代码块选中容易不完整。
Currently, rendered Markdown content has no "Copy" button. Users must manually select text with the mouse, which is inconvenient and often incomplete for long content or code blocks.
建议 / Suggestion
-
代码块右上角添加 Copy 按钮,点击复制并显示反馈;
-
可选:消息整体提供「复制全文」按钮;
-
复制使用原始 Markdown 源文本。
-
Add a Copy button at the top-right of code blocks with "Copied!" feedback;
-
Optionally, a "Copy all" button for entire messages;
-
Copy should use the raw Markdown source.
收益 / Benefits
-
提升操作效率,减少误选漏选;
-
符合主流 AI/开发工具标配交互习惯。
-
Improves efficiency;
-
Matches standard interactions in mainstream AI/dev tools.
- Dominant language
- CSS
- Stars
- 7
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CommandCodeAI/commandcode-status
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
All issues in CommandCodeAI/commandcode-status
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
zostera/django-bootstrap4#894 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
eknowledger/toolbench#101 · 1 comment ·
-
comp/dashboard P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100