Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show inserter block variations in the block manager and allow them to be toggled #27708

Open
talldan opened this issue Dec 14, 2020 · 4 comments
Labels
[Feature] Block Variations Block variations, including introducing new variations and variations as a feature [Type] Enhancement A suggestion for improvement.

Comments

@talldan
Copy link
Contributor

talldan commented Dec 14, 2020

Is your feature request related to a problem? Please describe.
A user mentioned something they considered a bug on the forums (https://wordpress.org/support/topic/block-manager-embeds-bug/) there's no longer a way to toggle individual embed blocks in the block manager.

This is a result of the change from using individual blocks for embeds to using block variations. Block variations aren't supported in the block manager.

Describe the solution you'd like
If a variation is shown in the inserter, it's also shown in the block manager and can be toggled there.

Describe alternatives you've considered
Open to other suggestions, but what I've suggested seems simple enough.

@talldan talldan added [Type] Enhancement A suggestion for improvement. [Feature] Block Variations Block variations, including introducing new variations and variations as a feature labels Dec 14, 2020
@ntsekouras
Copy link
Contributor

Is this issue referring to an external plugin: https://wordpress.org/plugins/block-manager/?

If yes, I think this is an issue for the plugin, no?

This is a result of the change from using individual blocks for embeds to using block variations. Block variations aren't supported in the block manager.

The solution would be to use unregisterBlockVariation etc..

@talldan
Copy link
Contributor Author

talldan commented Dec 16, 2020

@ntsekouras This is related to the block manager that comes with Gutenberg as far as I can tell.

Accessed from the editor's Options menu.

@talldan
Copy link
Contributor Author

talldan commented Dec 16, 2020

5.5.3 vs 5.6:
Screenshot 2020-12-16 at 9 59 40 am
Screenshot 2020-12-16 at 10 01 08 am

@paaljoachim
Copy link
Contributor

It would be very helpful to add back in the Embed variations to the Preferences/Options screen. Having an open/close arrow to open the Embed block to select which variations to uncheck would be nice (would also save a lot of space). Similar to how we open and close the List view today.

Open-Close-List-view.mp4

@talldan talldan changed the title Show 'inserter block' variations in the block manager and allow them to be toggled Show inserter block variations in the block manager and allow them to be toggled Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block Variations Block variations, including introducing new variations and variations as a feature [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants