Comments (9)
Heh, I could make the argument that it is a bug, but that would only be wishful thinking.
In short, I understand and agree with what you said.
from gutenberg.
and likely easier to ship with RC2?
I think this might be seen more as an enhancement rather than a bug fix, so I don't think it will make it into any of the 6.6 RCs.
from gutenberg.
A draft PR is up for removing the block style previews from the inspector panel only: #63039.
I am having some problems with my local native env at the moment so I've left the PR in a draft state until I can sort that out and see whether it still makes sense to remove the previews there too.
from gutenberg.
+1 for improving (or removing) previews for section styles.
from gutenberg.
Just flagging that there were a couple of earlier explorations into updating the UI for Block Styles:
While these were focused on the control itself, e.g. dropdown vs small cards etc., it did come up that the preview isn't really required as it was so easy to see it in action or switch back to the default.
I can put together a quick PR to remove the preview and see what people think.
from gutenberg.
I can put together a quick PR to remove the preview and see what people think.
TBH, I think this is better (and likely easier to ship with RC2?) to remove than to style a preview.
from gutenberg.
The block styles still use an inline preview for the native UI. Given the next iteration of section styles/block style variations will likely involve a major update to this panel, I wonder if it makes sense to hold off on updating the native UI.
I've suggested over on #63039 that this could be a separate follow-up but happy to hear other's thoughts on this one.
from gutenberg.
Thanks for the quick work here.
from gutenberg.
The removal of previews appears to be overkill. An alternate approach, simply improving the Group block's example, is available in #63114.
from gutenberg.
Related Issues (20)
- Button Block: Can't set typography HOT 2
- Add block icons to blocks within contentOnly
- Allow the sidebar to be a more flexible width HOT 1
- Components: Apply consistent placeholder color
- Block styles: reflect inherited global styles values in block appearance controls
- Data views: allow users/consumers to pin rows in table layout
- Data views: allow users/consumers to pin columns in table layout
- Font Library: Cannot install some Google fonts (e.g. Reddit Sans, Reddit Mono) HOT 1
- Gutenberg plugin v 19.1, stable release August 28, 2024 HOT 1
- Image Block with Overrides Enabled in Synched Pattern does not output all of the expected image attributes
- DataViews: Hide "Add filter" link if there are no filters to add HOT 3
- DataViews: Accept an initial active or selected state for items HOT 2
- Query Loop block: Standard posts shown instead of CPTs
- DataViews: focus lost when removing the last filter
- Synced Pattern Override for nested patterns HOT 1
- Cover block overlay with detected color does not work once saved
- Use Background Image popover for Cover block media controls
- Documentation: @wordpress/scripts must not be installed as devDependency?
- Tracking: Style Book Iteration
- URLInput should use InputControl internally HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gutenberg.