-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Background Editor for Cover block #20193
Comments
I really like that this removes the need to have media + text or a group, alternatively some other complicated confusion of blocks - to get this result. |
Very cool! Just a note on this regarding the concept of responsivity, I have a page building plugin that does something similar and I have had quite a few users complain about background image placement, specifically on mobile. White-text over a dark-part of an image is readable, but on mobile, everything can be different, and often white text ends up over a white-area of the image. I think this type of thing also requires responsive controls, similar to what is proposed here: |
We could even add support for multiple background images to allow for stacked layouts. |
Allowing the background to be resized by dragging is great! I'd also like to see this eventually integrate with any of the grids we've been exploring – dragging and snapping to a grid. In a comment from @paaljoachim #14483 (comment) he mentions...
I think that's a good idea! |
Hi all, I’m sharing a design proposal by @javierarce and myself that would enable background editing functionality for the Cover block. This would add image editing functionalities to the Cover block so that users don’t need to resort to outside tools, and improve the editing tools available for the Image block. This concept was originally shared on the Make Wordpress blog, where you can read the proposal in more detail (including the issues that we identified with current image management tools). OverviewWe’ve broken down this proposal into three walkthroughs that help explain our proposal. These prototypes are self-guided, just open each of them and advance to the next slide clicking each screen. A series of notes will explain each concept. One idea that spans across this proposal is the introduction of a secondary toolbar that looks distinctively different from the default toolbar in order to make it clear when the user has entered and exited the editing state. These new toolbars would present a title indicating that the user is now inside a different mode, the set of options for the functionality, and links to apply and discard the changes. Editing/cropping tools for the Cover blockThe introduction of a secondary toolbar could be a clean way of introducing inline editing tools to the Cover block. Fill modesThe ability to switch between different display modes such as Fill, Fit, Tiled, or Crop would be a great addition to the Cover block secondary toolbar. Editing/cropping tools for the Image blockHere’s a walkthough of how these same changes could be applied to the Image block's existing editing context. |
Nice! It's inspiring we are considering better focus and awareness signals of where you are and what you are doing. Also consider that the snackbars used in the prototype can clash with the inspector, or even with the current notification snackbar. |
Thanks @pablohoneyhoney!
Another possibility we explored is the idea of splitting the toolbar into two different sections. This could be a clear way to differieniate the editing context without adding visual weight with the dark color. We did have some questions about feasibility so decided that color was probably a more simple differentiator. Does this split approach seem worth looking into further?
I should have clarified that we just added these snackbar notes to help guide people through the prototype but those wouldn't actually be visible in the editor :) |
+1! A general, stackable, layered block would be great! One can add layers as child blocks and any block to it. Easy reordering, etc. |
This is a proposal to expand the capabilities of the Cover block (and other blocks using background images) to empower users to achieve more varied visual effects easily.
Right now it's difficult to achieve effects such as text overflowing images. A user could do it by composing an image beforehand using an image editing tool and upload it as a full background, but that is a very poor experience for both the creator and the viewer.
One way in which we can allow this to be done with ease is by having background editing options directly in the Cover block itself. Imagine an "Edit Background" tool that would focus just on the background of the block (fading all the layered blocks and their controls away) letting users reposition and resize the background image at will and include setting a color.
That would allow going from the regular effect:
To a composition like this:
The flow could be engaged using a toolbar button which folds the Cover block toolbar into background editing mode, including color selection:
The text was updated successfully, but these errors were encountered: