fix: deprecate video playlist block #1903
Merged
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.
All Submissions:
Changes proposed in this Pull Request:
Deprecates the YouTube Video Playlist block, as this functionality is now a core feature of YouTube itself.
If the block already exists in any site content, the block will continue to render on the front-end, but editor instances will no longer be editable and will display a deprecation warning.
If the block doesn't exist in any site content, it won't be registered and therefore can't be added to any post content.
At a future date, we can consider removing all block assets from this repo.
How to test the changes in this Pull Request:
trunk
, add some YouTube video embeds to post content. Make sure to embed using full, unshortened YouTube URLs to embed or they won't be recognized by the Video Playlist block.*
), save, then refresh the editor. Confirm that the YouTube Video Playlist block can no longer be found in the block inserter.Other information: