CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 10:33:21 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/"7d13f992536a0e6a2786537178aa7134"
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=0F0E9HCLHWETcyoFDpf48TnXq4zE748zatGNixSHnbErz0mYzv%2BXOftnxmPNhnM7nvf0EiIav%2FwsJcrbTgEAMGphn%2FpiBdYz8mEkVZSxuoD7xWtjQ4mu2yvkUp8ajKr3bg7TYvnp%2ByV9kHIKTXH2RoAwg3ERRxATTA3muXw0Jod93pax16ciPlStb48sSZOJkHOR5RjvPsn0MvPz4gWLU2A%2FQKHG%2FLUHzlZ7d33Jl5n1Demm3H44sb7GalEZXAEmyYfRrj6Bt1zo%2FnGjROueXg%3D%3D--D%2FMOW8jwYSiYw%2FAN--lJCUsEuDt7WiUSqy%2FiCuzg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1957663097.1760178800; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 10:33:20 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 10:33:20 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8668:2C8153:5B2B2C:7A3A8A:68EA3270
Featured Image Block: Don't include interactive elements within a ele… · WordPress/gutenberg@c854faa · GitHub


authored
Copy file name to clipboardExpand all lines: packages/block-library/src/post-featured-image/edit.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit c854faa

Featured Image Block: Don't include interactive elements within a element (#69730)
* Feat: removed the code from #69716 and fixed html structure, added checks for link to be shown only if featured image is set.
* Fix: Update conditions for displaying link options in Post Featured Image edit panel
* Refactor: Add conditional rendering to inspector controls
* feat: add templates for single page templates
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
* feat: add sizeSlug prop to reset handler
---------
Co-authored-by: Mayank-Tripathi32 <mayanktripathi32@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>1 parent ca36a46 commit c854faaCopy full SHA for c854faa
File tree
Expand file treeCollapse file tree
1 file changed
+94
-79
lines changedFilter options
- packages/block-library/src/post-featured-image
Expand file treeCollapse file tree
1 file changed
+94
-79
lines changedCollapse file: packages/block-library/src/post-featured-image/edit.js
packages/block-library/src/post-featured-image/edit.js
Copy file name to clipboardExpand all lines: packages/block-library/src/post-featured-image/edit.js+94-79Lines changed: 94 additions & 79 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
199 | 210 |
| |
200 | 211 |
| |
201 | 212 |
| |
| |||
228 | 239 |
| |
229 | 240 |
| |
230 | 241 |
| |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
256 | 247 |
| |
257 | 248 |
| |
258 |
| - | |
259 |
| - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
260 | 254 |
| |
261 |
| - | |
262 |
| - | |
| 255 | + | |
263 | 256 |
| |
264 | 257 |
| |
265 | 258 |
| |
| |||
269 | 262 |
| |
270 | 263 |
| |
271 | 264 |
| |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 | 265 |
| |
282 |
| - | |
| 266 | + | |
283 | 267 |
| |
284 | 268 |
| |
285 |
| - | |
| 269 | + | |
286 | 270 |
| |
287 | 271 |
| |
288 | 272 |
| |
289 | 273 |
| |
290 | 274 |
| |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
291 | 293 |
| |
292 |
| - | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
293 | 297 |
| |
294 |
| - | |
| 298 | + | |
295 | 299 |
| |
296 | 300 |
| |
297 |
| - | |
298 |
| - | |
299 |
| - | |
300 |
| - | |
301 |
| - | |
302 |
| - | |
303 |
| - | |
304 |
| - | |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 |
| - | |
311 |
| - | |
312 |
| - | |
313 |
| - | |
314 |
| - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
315 | 318 |
| |
316 |
| - | |
317 |
| - | |
318 |
| - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
319 | 344 |
| |
320 | 345 |
| |
321 |
| - | |
322 |
| - | |
323 |
| - | |
324 |
| - | |
325 |
| - | |
326 |
| - | |
327 |
| - | |
328 |
| - | |
329 |
| - | |
330 |
| - | |
331 |
| - | |
332 |
| - | |
333 |
| - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
334 | 350 |
| |
335 | 351 |
| |
336 | 352 |
| |
| |||
400 | 416 |
| |
401 | 417 |
| |
402 | 418 |
| |
403 |
| - | |
404 |
| - | |
| 419 | + | |
405 | 420 |
| |
406 | 421 |
| |
407 | 422 |
| |
| |||
453 | 468 |
| |
454 | 469 |
| |
455 | 470 |
| |
456 |
| - | |
| 471 | + | |
457 | 472 |
| |
458 | 473 |
| |
459 | 474 |
| |
|
You can’t perform that action at this time.
0 commit comments