Cover: Remove embed video URL background feature#78087
Draft
t-hamano wants to merge 2 commits into
Draft
Conversation
The embed-video background type allowed inserting third-party iframes (YouTube, Vimeo, etc.) as cover backgrounds. Remove the feature and add a v15 deprecation that strips the embed-video state from existing saved blocks so they pass validation and migrate to a clean cover without the iframe. The .wp-block-cover__embed-background CSS is kept as a backward-compatibility fallback for content that has not yet been re-saved through the migration. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Compress the multi-line rationale into a single line; the deprecation context is already documented in deprecated.js and the commit history. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Size Change: -695 B (-0.01%) Total Size: 7.92 MB 📦 View Changed
ℹ️ View Unchanged
|
|
Flaky tests detected in 89fb508. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/25547753774
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Removes the embed video URL background feature from the Cover block, which let users set YouTube/Vimeo/etc. iframes as a background.
Why?
See #75069 (comment)
How?
Testing Instructions
trunk, insert a Cover block, open the toolbar's media menu, and pick Embed video from URL.Use of AI Tools
Authored with assistance from Claude Code (Opus 4.7). The author reviewed and is responsible for all changes.