-
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
Insert between paragraphs ("at cursor" vs "after the active block") #1710
Comments
You can only write multiple paragraphs on the classic text block. If you were using the main "text block" each paragraph would be a block, so inserting an image between two is much easier. |
How do we explain that then? As a user they just feel the same "text". |
I think insert images at the cursor is a solid pattern, even if the screenshot shows the classic text block. That is — I'd love for it to work there too! But for the default text block, the same could work, couldn't it? That is — right now it shows a blue line where the content will be inserted. But if you are in an empty text block, it should just replace it no? |
@folletto were you editing a saved post or you explicitly inserted classic text? |
It was a post done with an older version of Gutenberg, which is why I didn't expect the issue being the "classic text block" mode. ;) Currently running 0.3.0. Yeah I noticed now in a new post that the paragraph got split automatically (lots of animations going on there tho! it covers the text of the paragraph above... should I open a ticket about that or there's one already?). I guess it might be still a bit jarring as it's not obvious the difference between the two (apart from the bullet list icons in the quick toolbar), but I agree it's a slightly lesser issue than if it happened all the times.
Good point. I'm uncertain on this: once I get how Gutenberg works, I might simply not add a new line and instead insert a different block... that said, if it's empty, it might make sense to replace it. Would it be expected? What if I start a new post, I mean to write but I start by adding an image? Tough call without some user testing live. |
We have a few mechanisms for inserting between blocks, so closing this one. |
I suggest to allow the "Insert" button from the top bar to insert always where the cursor is instead that strictly at the end of the block — at least for text blocks.
Suggested Behaviour
I'm aware there are a lot of considerations to make here, so it's just a conversation starter. To name a few:
Extended Description
Today I was trying a bit further Gutenberg and as usual I started writing and then I went back and I wanted to add images in between some text. I often write all at once and add images later.
So I clicked on Insert in the top bar and... I noticed that hovering the blue insert bar appeared at the end of the text (btw, wonderfully clear interaction there). But... that's not what I need: I need to insert where my cursor is, not after the current block. I still give it a try and as hinted the new block gets added after the whole text block.
Which means that to add a new item in the middle, I had to add a new text block, copy-paste the content from the first to the second, and then add the new non-text block between the two.
The text was updated successfully, but these errors were encountered: