Repository navigation
Conversation
|
Thanks for exploring, it has helped clarify that we need some more clear patterns for what goes in the inspector and what goes on the block, and how to make room for more buttons especially with mobile as a consideration. I need to work on some inspector work for the gallery in the next couple of days anyway, so perhaps it would be good to press pause on these explorations for now, and resume once we have some patterns hashed out. Right now I'm thinking we need more clear examples of what constitutes "basic", and what constitutes "advanced". We may need some new quick toolbar patterns to make sure things fit on mobile, perhaps ressurect the idea of collapsing some groups (like alignments, block styles, or heading levels) into dropdowns when there's not enough room, as shown here: #860 (comment) |
| */ | ||
| import { __ } from 'i18n'; | ||
| import { concatChildren } from 'element'; | ||
| import { Toolbar } from 'components'; |
There was a problem hiding this comment.
Note with #2172, these need to be updated to prefix the dependencies with @wordpress/. You will need to perform a rebase against the latest version of master and apply your changes:
git fetch origin
git rebase origin/master
|
@mtias or @karmatosed is it still relevant? It seems like an useful addition. @iseulde it needs rebase. |
|
This PR just explores keeping only one alignment button inline that toggles centre and default alignment, since these are the most used, and moves explicit left, and right alignment to the inspector. |
|
I think recent explorations that surround the toolbar, as well as toolbar overflow, are probably higher on our list for the time being. If those work, we can close this. If they don't work, then we should totally revisit this. |
|
I will close it then, we can always reopen later if we change our mind :) |
Alternatively I can remove the centre alignment from the inline toolbars as well. I'm fine with either.