-
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
Impossible to insert multiple blocks into Column Block using mouse #6842
Comments
I think the best way to fix this would be to allow the sibling inserter to appear after the last block in a context. Alternatively you could just make the placeholder blocks appear automatically under Paragraph blocks like they do for everything else, but I would prefer having the automatic placeholder blocks removed entirely and replaced with the sibling inserter opening the inserter menu directly. (Of course, pressing Enter would still create a new placeholder/Paragraph like you would expect.) |
The Block Inserter button (+) should be on the bottom of every block! I can't understand the reasoning for having it at the top of the block. It makes no sense and is completely opposite of the a regaular workflow. After adding content, you typically want to add more content BELOW the content you just added, not above. It makes zero sense for this Block Inserter button to showing at the top of the block instead of at the bottom of the block. |
@maddisondesigns The sibling inserter was made available above blocks (except the currently selected one due to conflicts with the positioning of the block toolbar) because that would make it also available at the bottom of every block below the one with the inserter above it, effectively putting it below every block except the last one. It is absent from below the last block in a context because it was assumed that the automatically added placeholder blocks would serve the same purpose, therefore making the sibling inserter redundant. Separately, the placeholders were changed at some point to not be automatically added for Paragraph blocks because it felt weird to people writing posts that there seemed to be an empty Paragraph at the bottom of the post all the time. What they ended up doing did sort of fix the issue, but introduced an inconsistency along the way. Combined, these two design decisions create the issue described by this ticket. As posted elsewhere, I think the solution is to get rid of automatically added placeholder blocks, show the sibling inserter below the last block in a context, and have the sibling inserter open the inserter menu directly. (Enter would work as it does now.) This does several nice things, including:
As far as I can tell, there are no real downsides to this suggestion. On another note, I notice in the main post the GIF shows you struggling to use the inserter button in columns due to the side controls of the nearby blocks. If the controls are moved below the block as suggested in #6224, that would no longer be an issue. |
While examining/testing Gutenberg for our site; I'm able to reproduce this. out-11.ogv.zip (it's a zipped OGV; I had to zip this because github doesn't support OGV natively in the upload). (written as a CPL employee) |
Hey @shaunandrews I know you have been working on the sibling inserter. |
I think most of the issue's outlined here have actually been resolved. Much of the UI has changed since this issue was created, which reduces some of the overlapping UI. Also, you can use the "..." more menu in the block toolbar to insert before or after any block. There's, of course, a lot of work to be done on the Columns block, especially around its placeholder state and the interaction with the in-between inserter. |
To quote @youknowriad from a comment on a related issue:
There is also still the issue of inconsistency between Paragraph blocks and every other block. An appender (that takes up space in the editor) will appear after every block except a Paragraph, which (in combination with the lack of space between the end of a Column and a Columns in most themes) means that inserting blocks after a Paragraph at the end of a Column is still difficult. So while a lot of progress has been made and a lot of similar cases are now solved, the original problem described in this ticket is still not truly fixed. One solution would be to make the appender behavior with Paragraph blocks consistent with every other block. I was going to create that PR myself, but I haven't been able to find the part of the code that controls this behavior. So if anyone wants to go ahead and make that PR, be my guest. |
This issue is quite old, and it's possible to insert blocks before/after using the option in the block more menu if you really pressing enter is not what you want to do. I'm going to close it. I'd suggest any general discussion about where inserter buttons appear is moved to a more general issue like #22801. The title of this issue is very specific, and unlikely to be where people go to look for that conversation. |
Describe the bug
The Columns block is incredibly unintuitive and difficult to use. There isn't any Block Inserter so it's near impossible to insert multiple blocks into a single column. The only way I (finally) worked out how to do it is by hitting
Return
on an existing Paragraph block. After hittingReturn
it inserts another Paragraph Block which you then need to convert to the actual block that you want.To compound the issues even further, if there happens to be another block in the column to the right, you can't click the
+
icon on the Paragraph Block (to convert it) because every time your cursor goes near it, the arrow icons for the block next to it, covers up the icon. Even when using just Paragraph blocks, your text overlaps all the other columns.This block is totally unusable in its current form.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It needs to be usable
Screenshots
macOS Sierra 10.12.1 (16B2659)
Firefox Quantum 60.0 (64-bit)
WordPress 4.9.6
Gutenberg 2.9.0
The text was updated successfully, but these errors were encountered: