Opened 5 months ago
Last modified 4 months ago
#62690 new feature request
Add "Copy to Clipboard" button to Revision Viewer
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Revisions | Keywords: | has-patch |
Focuses: | Cc: |
Description
When looking through old revisions, it would be helpful to be able to copy a Revision's post_content to the clip board (for use elsewhere). Unfortunately, this is very difficult. One can't even easily select the text to copy it, because you get the text from BOTH revisions on screen when you try.
I think each revision should have a "Copy to Clipboard" button at the top so one can easily extract the markup of the revision for use elsewhere.
Change History (4)
This ticket was mentioned in PR #8078 on WordPress/wordpress-develop by @prasadkarmalkar.
4 months ago
#1
- Keywords has-patch added
This ticket was mentioned in PR #8079 on WordPress/wordpress-develop by @prasadkarmalkar.
4 months ago
#2
#3
@
4 months ago
Hi there, I have created a PR for this feature and added a demo video. Please let me know if any changes are needed.
PR link - https://github.com/WordPress/wordpress-develop/pull/8079
#4
@
4 months ago
Test Report
Description
This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/8079
Environment
- WordPress: 6.8-alpha-59274-src
- PHP: 8.2.27
- Server: nginx/1.27.3
- Database: mysqli (Server: 8.4.3 / Client: mysqlnd 8.2.27)
- Browser: Chrome 131.0.0.0
- OS: macOS
- Theme: Twenty Ten 4.3
- MU Plugins: None activated
- Plugins: Test Reports 1.2.0
Actual Results
✅ Issue resolved with patch.
Supplemental Artifacts
Before:
After:
Video: https://rioudcpuyg.ufs.sh/f/PL8E4NiPUWyO0yEWExrm4XQraiwSMvRu9VZ1yNCOA2kz8EBx
Created a copy button for revision viewer
Trac ticket: https://core.trac.wordpress.org/ticket/62690
Demo
https://github.com/user-attachments/assets/fa831b3a-e1b6-43f2-9edc-69bc50a0b1bc