CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 08:48:54 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/WordPress/gutenberg.git
etag: W/"2de35b8dffba1853c039fee95774e28b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=Zjat0vtVjtbU%2FBljl6aLr74yuEwlvev23%2BzbxgN2FthFOAyRY%2BfTx6EWpwrgepIZNkj6lCOCvd7sHuAVDYAHBwjLAbX6svGTuOeWSh4xW9kRVwX3FAXUpf%2F1fe3hVhQo7nukE9A%2FMJr68JcXUTrpPm1zGjQIRz8Zs7ywyQ%2B93OrVgUT37PBj0z39kNcQvnM5VfGEudcw6xc4kMvlCqZFo34l0mxENbEwvgmbtKdlemXfhp8S0SLl1wqSHuksixkg60gKN544e6r55%2B6CuHPZKw%3D%3D--m8EMVIQ3ollEMq4h--3uWsanwTpVQOJSoYYH6HIg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1412219224.1760258933; Path=/; Domain=github.com; Expires=Mon, 12 Oct 2026 08:48:53 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 12 Oct 2026 08:48:53 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D08E:19F5EE:DBF330:1260E77:68EB6B75
Add keyboard shortcut (`cmd(ctrl)+option(alt)+v`) to paste styles (#6… · WordPress/gutenberg@dbec8d9 · GitHub



authored
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/block-tools/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/keyboard-shortcuts/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/list-view/block.js
Copy file name to clipboardExpand all lines: test/e2e/specs/editor/various/copy-cut-paste.spec.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit dbec8d9


Add keyboard shortcut (
* feat: add key combo to paste styles
* e2e: add test for pasting styles using keyboard shortcut
* refactor: remove snapshots file
Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: ethanclevenger91 <eclev91@git.wordpress.org>cmd(ctrl)+option(alt)+v
) to paste styles (#69196)1 parent abe0a0d commit dbec8d9Copy full SHA for dbec8d9
File tree
Expand file treeCollapse file tree
4 files changed
+100
-0
lines changedFilter options
- packages/block-editor/src/components
- block-tools
- keyboard-shortcuts
- list-view
- test/e2e/specs/editor/various
Expand file treeCollapse file tree
4 files changed
+100
-0
lines changedCollapse file: packages/block-editor/src/components/block-tools/index.js
packages/block-editor/src/components/block-tools/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/block-tools/index.js+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
| |||
74 | 75 |
| |
75 | 76 |
| |
76 | 77 |
| |
| 78 | + | |
77 | 79 |
| |
78 | 80 |
| |
79 | 81 |
| |
| |||
134 | 136 |
| |
135 | 137 |
| |
136 | 138 |
| |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
137 | 146 |
| |
138 | 147 |
| |
139 | 148 |
| |
|
Collapse file: packages/block-editor/src/components/keyboard-shortcuts/index.js
packages/block-editor/src/components/keyboard-shortcuts/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/keyboard-shortcuts/index.js+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
67 | 79 |
| |
68 | 80 |
| |
69 | 81 |
| |
|
Collapse file: packages/block-editor/src/components/list-view/block.js
packages/block-editor/src/components/list-view/block.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/list-view/block.js+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
| 55 | + | |
55 | 56 |
| |
56 | 57 |
| |
57 | 58 |
| |
| |||
112 | 113 |
| |
113 | 114 |
| |
114 | 115 |
| |
| 116 | + | |
| 117 | + | |
115 | 118 |
| |
116 | 119 |
| |
117 | 120 |
| |
| |||
233 | 236 |
| |
234 | 237 |
| |
235 | 238 |
| |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
236 | 246 |
| |
237 | 247 |
| |
238 | 248 |
| |
|
Collapse file: test/e2e/specs/editor/various/copy-cut-paste.spec.js
test/e2e/specs/editor/various/copy-cut-paste.spec.js
Copy file name to clipboardExpand all lines: test/e2e/specs/editor/various/copy-cut-paste.spec.js+69Lines changed: 69 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
541 | 541 |
| |
542 | 542 |
| |
543 | 543 |
| |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
544 | 613 |
| |
545 | 614 |
| |
546 | 615 |
| |
|
You can’t perform that action at this time.
0 commit comments