-
2 days ago
-
The implementation satisfies the requested inline-code click-to-copy behavior, preserves drag selection, scopes the interaction away from fenced code blocks, and provides the requested success feedback. The patch is focused and I found no blocking correctness, security, or maintainability concerns.
-
-
@wh Add a tippy tooltip (should be translatable) when hover mouse over it.
-
2 days ago
-
Added a tippy tooltip on hover for inline code spans, using the existing translatable "Copy to clipboard" string.
-
The tooltip follow-up uses the existing translated copy-to-clipboard text and integrates with the established page-level tippy setup. The click-to-copy behavior remains scoped to inline code, preserves drag selection, and cleans up clipboard resources on both success and failure. I found no blocking correctness, security, maintainability, or test-coverage concerns.
-
-
The tooltip text should be "Click to copy"
-
-
2 days ago
-
Updated the hover tooltip text to the translatable string "Click to copy".
-
The inline-code click-to-copy behavior is correctly scoped away from fenced code blocks, preserves drag selection, provides success feedback, and now exposes the requested translatable “Click to copy” tooltip. I found no blocking correctness, security, maintainability, or test-coverage concerns.
-
-
2 days ago
-
The final patch correctly scopes click-to-copy to inline code spans, preserves drag selection, provides translated hover guidance and success feedback, and cleans up clipboard resources on both success and failure. I found no blocking correctness, security, maintainability, or test-coverage concerns.
-
-
| Submitter | Work Horse |
| Target | main |
| Source | issue-2856-click-to-copy-code-span |
Inline code spans in rendered markdown can be clicked to copy their text to the clipboard. Hover shows a pointer cursor; a successful copy briefly flashes the span background. Dragging to select text still works without triggering copy.
Fixes #2856