Skip to content

Comments

feat: add copy-to-clipboard buttons on all code blocks#10313

Open
jd wants to merge 1 commit intomainfrom
devs/jd/design/enable-code-copy-buttons/Ic6cb8bc32acc966f02d727f2d09b61bbad6158a5
Open

feat: add copy-to-clipboard buttons on all code blocks#10313
jd wants to merge 1 commit intomainfrom
devs/jd/design/enable-code-copy-buttons/Ic6cb8bc32acc966f02d727f2d09b61bbad6158a5

Conversation

@jd
Copy link
Member

@jd jd commented Feb 23, 2026

Adds a lightweight client-side script that injects a "Copy" button
on every code block. The button appears on hover, copies the code
content to clipboard, and shows a "Copied!" confirmation.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Adds a lightweight client-side script that injects a "Copy" button
on every code block. The button appears on hover, copies the code
content to clipboard, and shows a "Copied!" confirmation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change-Id: Ic6cb8bc32acc966f02d727f2d09b61bbad6158a5
Claude-Session-Id: c697d365-82bc-4c01-9271-b4e18c99ab52
@mergify mergify bot had a problem deploying to Mergify Merge Protections February 23, 2026 16:27 Failure
@mergify
Copy link
Contributor

mergify bot commented Feb 23, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🔴 👀 Review Requirements

This rule is failing.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = mergify-ci-bot

🔴 🔎 Reviews

This rule is failing.
  • #review-requested = 0
  • #changes-requested-reviews-by = 0
  • #review-threads-unresolved = 0

🟢 🤖 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?:

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

@mergify mergify bot requested a review from a team February 23, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant