Skip to content

Add plain-text copying for code blocks - #7

Merged
bonelifer merged 2 commits into
masterfrom
feat/copy-code
Oct 25, 2026
Merged

bonelifer merged 2 commits into
masterfrom
feat/copy-code

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

Code blocks gain a separate Copy code button beside Select all. It copies plain text with whitespace preserved, supports Enter and Space, and provides localized success and failure feedback. If clipboard access fails, the code is selected for manual copying.

Codex verified phpBB 3.3 and 4.0 in both link-format modes, repeated activation, multiple blocks, keyboard focus, a 320-pixel viewport, fallback and recovery, and a real clipboard write/read. EPV reported no findings; PHP/JavaScript syntax, PHP coding standards, template checks, and ACP security probes passed. The new controls had no axe violations. Orca generated the expected status messages, with one reader selection-event exception on phpBB 4.0; audio playback was disabled.

Includes a separate dated update gallery, a reproducible capture script using the shared screenshot tool, and release-archive exclusions for the dated images.


Investigated and written by Codex on behalf of William Jacoby (bonelifer).

@bonelifer
bonelifer merged commit e02a59a into master Oct 25, 2026
6 checks passed
@bonelifer
bonelifer deleted the feat/copy-code branch October 25, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant