Skip to content
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

When caret is in an empty text block, inserted blocks should replace it #3627

Closed
jasmussen opened this issue Nov 23, 2017 · 1 comment · Fixed by #4917
Closed

When caret is in an empty text block, inserted blocks should replace it #3627

jasmussen opened this issue Nov 23, 2017 · 1 comment · Fixed by #4917
Labels
[Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement. [Type] Task Issues or PRs that have been broken down into an individual action to take

Comments

@jasmussen
Copy link
Contributor

Current workflow:

  • Type out a bunch of paragraphs
  • Make a linebreak between two paragraphs
  • Click top inserter to insert an image placeholder
  • Result: the image placeholder is inserted after the empty paragraph block the caret was in

Proposed workflow: the image placeholder replaces the empty paragraph block.

This already works when using the slash command.

This is just a small enhancement to make the writing flow in the block editor more closely mimic that of a traditional text editor.

Possibly related, #3599

@jasmussen jasmussen added [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement. [Type] Question Questions about the design or development of the editor. labels Nov 23, 2017
@mtias mtias removed the [Type] Question Questions about the design or development of the editor. label Jan 5, 2018
@mtias
Copy link
Member

mtias commented Jan 5, 2018

I agree with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement. [Type] Task Issues or PRs that have been broken down into an individual action to take
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants