Skip to content

Inserter: Fix the in-between inserter on nested blocks#5282

Merged
youknowriad merged 1 commit intomasterfrom
fix/nested-in-between-inserter
Feb 28, 2018
Merged

Inserter: Fix the in-between inserter on nested blocks#5282
youknowriad merged 1 commit intomasterfrom
fix/nested-in-between-inserter

Conversation

@youknowriad
Copy link
Copy Markdown
Contributor

@youknowriad youknowriad commented Feb 27, 2018

related #5198 (review)

This fixes the inserter (ine) showing up when you hover between blocks for nested blocks.

Testing instructions

  • Trying clicking this line above and between nested blocks
  • Try cliking this line at the beginning of the post.
  • It should work and look well.

@youknowriad youknowriad added the [Feature] Inserter The main way to insert blocks using the + button in the editing interface label Feb 27, 2018
@youknowriad youknowriad self-assigned this Feb 27, 2018
@youknowriad youknowriad requested a review from aduth February 27, 2018 08:30
@jasmussen
Copy link
Copy Markdown
Contributor

jasmussen commented Feb 27, 2018

Nice, this is working well for me.

Edit: Note that I know the nested UI needs work, and I'm working on that partially in #5217, which is difficult and a step on the way. Just saying the testing instructions work predictably here.

Copy link
Copy Markdown
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this fixes:

  • Between-inserter misalignment (both top-level and in nested context)
  • Inserting at start of nested context
  • Inserting within nested context

It does not fix:

@youknowriad youknowriad merged commit 2d1cda1 into master Feb 28, 2018
@youknowriad youknowriad deleted the fix/nested-in-between-inserter branch February 28, 2018 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Inserter The main way to insert blocks using the + button in the editing interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants