-
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
Site Editor: Add the dark frame #36995
Conversation
Size Change: +27 B (0%) Total Size: 1.1 MB
ℹ️ View Unchanged
|
Thanks for the PR! It's a great way to at least test out the idea. Here's a GIF: I like that there's a clear place to click to deselect. The resize handles are nice, but without a way to control them with the keyboard I don't think we can entirely remove the preview dropdown. The frame takes up a lot of space, which is okay on larger breakpoints, but is a bit tricky on the smaller ones. I have this feeling that we will eventually want this frame to land, but that it's probably not quite as simple as just this one PR. That seems to harmonize with Matías comment here as well: that we might do it, but it's perhaps a wee bit early still. |
In a couple of issues, the idea of adding the "frame" that appears when editing a template part (or a template in the post editor) has arisen: #36535 #36977
To summarise: The frame provides an empty clickable area that makes it easier to deselect blocks. It also creates space for block toolbars that appear close to the top of the canvas.
There is undoubtedly a much better way to do things on the code side, but we can fix that later. This PR is mostly just to get an idea of how things feel with the frame in place so that we can make a better decision around whether or not to add it.