CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 09:28:45 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/"90255920681f6ca4b5bd714bdf065d4f"
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=SQoa05NPI2FTivogw1ZIGuZBtCwXTf8POyML4b3NgNgwffsYUaIVcCa9qAj8est2IFT4h3M5RKUmir4T%2BEGjAyHRIcteBbzKdo9GIh9oXgHvRt6tPJCilSZXNDFSTlnIkGyQL5PRTVDbCsnObg%2F2MdcpkJKAZLJsa4XousS1dmf%2BfKUEMONstLmNbVHJ0vKlUkQU1oI7uhzYHKVUnJtpQ6yguNkTDVq96Gfy%2F%2BtCVmCA%2FQaPusz9GEddq7efm%2BaqAaJZL7ti7fEhWfwScARLwg%3D%3D--pZ2RLcvYC1c16wB5--%2FY7B%2Bz9sjM7KrC6%2FOWbsjQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1607661952.1760174924; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 09:28:44 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 09:28:44 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E992:366CA0:557382:7306C5:68EA234C
Stabilize isPreviewMode flag (#66149) · WordPress/gutenberg@d9e7ee7 · GitHub
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/block-list/block.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/block-list/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/block-preview/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/iframe/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/provider/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/provider/test/experimental-provider.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/store/defaults.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/store/private-actions.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/store/reducer.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/store/test/actions.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit d9e7ee7
authored
Stabilize isPreviewMode flag (#66149)
* Introduce stable isPreviewMode key and deprecate __unstableIsPreviewMode
* Expose stable isPreviewMode as registry values
* Use isPreviewMode instead of __unstableIsPreviewMode when accessing the setting
* Access isPreviewMode directly from getSettings instead of through private symbol within RichText block
* Revert private isPreviewMode changes
* Add __unstableIsPreviewMode getter within settings reducer
* Remove all other __unstableIsPreviewMode definitions
* Define deprecation setter with Object.defineProperty to avoid eager getting when spreading the settings object
* Use WP version within deprecation note
* Add deprecation notice when trying to set __unstableIsPreviewMode in updateSettings
* Add test to assert deprecated getters are passed to sub registry when defining a nested provider
* Move deprecated setter logic to __experimentalUpdateSettings1 parent 80fcf02 commit d9e7ee7Copy full SHA for d9e7ee7
File tree
Expand file treeCollapse file tree
20 files changed
+178
-35
lines changedFilter options
- packages
- block-editor/src
- components
- block-list
- block-preview
- iframe
- provider
- test
- store
- test
- edit-site/src/components
- block-editor
- page-patterns
- revisions
- style-book
- editor/src/components
- commands
- editor-interface
- provider
- visual-editor
Expand file treeCollapse file tree
20 files changed
+178
-35
lines changedCollapse file: packages/block-editor/src/components/block-list/block.js
packages/block-editor/src/components/block-list/block.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/block-list/block.js+1-2Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
629 | 629 |
| |
630 | 630 |
| |
631 | 631 |
| |
632 |
| - | |
633 |
| - | |
| 632 | + | |
634 | 633 |
| |
635 | 634 |
| |
636 | 635 |
| |
|
Collapse file: packages/block-editor/src/components/block-list/index.js
packages/block-editor/src/components/block-list/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/block-list/index.js+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
190 |
| - | |
| 190 | + | |
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
|
Collapse file: packages/block-editor/src/components/block-preview/index.js
packages/block-editor/src/components/block-preview/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/block-preview/index.js+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
| 62 | + | |
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 |
| - | |
| 127 | + | |
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
|
Collapse file: packages/block-editor/src/components/iframe/index.js
packages/block-editor/src/components/iframe/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/iframe/index.js+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
120 |
| - | |
| 120 | + | |
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
|
Collapse file: packages/block-editor/src/components/provider/index.js
packages/block-editor/src/components/provider/index.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/provider/index.js+1-3Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
50 |
| - | |
51 |
| - | |
| 49 | + | |
52 | 50 |
| |
53 | 51 |
| |
54 | 52 |
| |
|
Collapse file: packages/block-editor/src/components/provider/test/experimental-provider.js
packages/block-editor/src/components/provider/test/experimental-provider.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/components/provider/test/experimental-provider.js+43-1Lines changed: 43 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
24 | 38 |
| |
25 | 39 |
| |
26 | 40 |
| |
| |||
58 | 72 |
| |
59 | 73 |
| |
60 | 74 |
| |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
61 | 103 |
| |
62 | 104 |
| |
63 | 105 |
| |
|
Collapse file: packages/block-editor/src/store/defaults.js
packages/block-editor/src/store/defaults.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/store/defaults.js+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
170 |
| - | |
| 170 | + | |
| 171 | + | |
171 | 172 |
| |
172 | 173 |
| |
173 | 174 |
| |
|
Collapse file: packages/block-editor/src/store/private-actions.js
packages/block-editor/src/store/private-actions.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/store/private-actions.js+22-3Lines changed: 22 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
| |||
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
44 |
| - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
45 | 64 |
| |
46 | 65 |
| |
47 | 66 |
| |
48 | 67 |
| |
49 |
| - | |
| 68 | + | |
50 | 69 |
| |
51 |
| - | |
| 70 | + | |
52 | 71 |
| |
53 | 72 |
| |
54 | 73 |
| |
|
Collapse file: packages/block-editor/src/store/reducer.js
packages/block-editor/src/store/reducer.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/store/reducer.js+25-11Lines changed: 25 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
1660 | 1661 |
| |
1661 | 1662 |
| |
1662 | 1663 |
| |
1663 |
| - | |
1664 |
| - | |
1665 |
| - | |
1666 |
| - | |
1667 |
| - | |
1668 |
| - | |
1669 |
| - | |
1670 |
| - | |
1671 |
| - | |
1672 |
| - | |
1673 |
| - | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
1674 | 1688 |
| |
1675 | 1689 |
| |
1676 | 1690 |
| |
|
Collapse file: packages/block-editor/src/store/test/actions.js
packages/block-editor/src/store/test/actions.js
Copy file name to clipboardExpand all lines: packages/block-editor/src/store/test/actions.js+41Lines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1125 | 1125 |
| |
1126 | 1126 |
| |
1127 | 1127 |
| |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1128 | 1169 |
| |
1129 | 1170 |
| |
1130 | 1171 |
| |
|
You can’t perform that action at this time.
0 commit comments