-
Notifications
You must be signed in to change notification settings - Fork 24
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
GB 2.0 - Toolbar - missing align / justffy / float button #1408
Comments
Float options should really have an option in Styles > Layout |
@tomusborne Do you hate the idea of just...using the same thing? It seems like this was working previously. @diggeddy Is there an alternative implementation to the previous one that makes sense? |
A better implementation would be to include Floats as a property in the style tab. |
I've added text align to the Container and Text blocks, as well as wide/full align support to the Container block. It should be easy to add these to other blocks as well if we want (although I hope we don't have to add wide/full support to any others lol). I reverted my changes to add float to the image block. Using a) We add the float alignment to the |
My only concern is that someone may want to use an image container that isn't a figure. So we ideally need some way to indicate the wrapper is related to the image. I would strongly caution against making assumptions about markup structure that we don't actually enforce. |
Aside from issues within the editor ... can we just add a Float style to the inspector controls. |
Floating in the editor can cause some issues without additional logic (weird z-index things), but I think we can go ahead and do it. I'm assuming we'd need a |
Yeah we need both. We already |
Description
The toolbar button for text-alignment and image floats are missing from GB 2.0 blocks
For reference these are the the 1.0 toolbar buttons:
The text was updated successfully, but these errors were encountered: