-
Notifications
You must be signed in to change notification settings - Fork 58
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
Basic image alignment options #198
Comments
Shouldn't we split this work for each block? I see at least the following sub tasks:
|
It makes sense to split the tasks that way but I wouldn’t create single issues until someone starts working on them |
Not having alignment right now for image placement is a big pain. My assumption here is that most people "aren't effected" because their theme drives this perhaps. The theme I use gives me full control over image alignment. |
We've had a request in #2191084-zen for text alignment options, specifically to justify text. |
Here's another for justifying text in #2195624-zen.
|
Let's prioritize the Aztec-parity bit and have it in the Open Beta. |
The platforms actually appear to have some pretty different behavior on Aztec with respect to image size and alignment (I'm not super familiar with Aztec, so please let me know if you think I might be mistaken). My take is that for the beta release we should aim for the iOS experience because it is significantly better:
Also, this issue appears to overlap with #1263. @hypest, should this issue be closed in favor of that one? Or we could use #1263 for adding the controls and this issue for updating the UI to appropriately reflect the alignment in the UI since the discussion in this card and #169 has focused on the UI presentation? cc: @hypest , @iamthomasbishop |
Let's keep both for now, mainly because there's good content in this one and the #1263 is more overarching. |
@iamthomasbishop left some design feedback regarding alignment here:
|
For the upcoming Open Beta target, let's only include the "Aztec parity" subset of the feature. |
👋 @iamthomasbishop . For an initial implementation where the alignment buttons are not collapsed. Do you think it would be better to put them to the left or the right of the pencil/edit icon. I'm working on this now and (for no particular reason) I currently have the alignment icons to the right: |
On the desktop block editor the icons show up to the right of the block actions menu. So I would say to the right seems to align. Now I would say that it could be something that actually shows after click the pencil as part of the other block edit options. |
I agree with @timnolte regarding positioning (after pencil icon), I don’t see a reason why we should diverge from core/web here. Side note: we should switch away from the pencil icon to the new “replace” icon that core is now using on the image block – much clearer. Obviously that’s a separate issue but the sooner we can do this the better 😄 |
Is this the "replace" icon you would like @iamthomasbishop ? If it is, I'll include that update in my changes. |
That's the one! Still not a great solution imo, but it at least is better and matches Core. Can we also apply it to the other blocks that contain the icon (image, video, maybe others?) if it's not a hassle? (again, feel free to break that out into a separate issue if easier) |
Hey @hypest ! This card was automatically closed with my PR adding left, right, and center image alignment options for Aztec-parity, but I have not added support for wide or full alignment handling. Would you prefer to re-open this card or create a separate card for that remaining work? |
👋 @mchowning , there's been minimal discussion in this ticket about the theme-controlled size options so, let's keep this ticket closed and create a new one only for them. Here's the new one: #1565. Will revise the title and description in the current one. |
The image block (and others) have an alignment toolbar that we need to implement
Edit: The theme-based options are now tracked via #1565.
There's a good amount of conversation about this in #169, but to summarize:
We'll want the first item for the beta (three days), but we might want to consider the other two depending on research.
The text was updated successfully, but these errors were encountered: