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

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

Merged
merged 1 commit into from
Feb 28, 2018

Conversation

youknowriad
Copy link
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
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
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