Skip to content

fix: Fix bug that caused blocks inserted via Enter to not attach#9699

Merged
gonfunko merged 1 commit intov13from
enter-insert
Apr 15, 2026
Merged

fix: Fix bug that caused blocks inserted via Enter to not attach#9699
gonfunko merged 1 commit intov13from
enter-insert

Conversation

@gonfunko
Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

This PR fixes a bug where inserting a block from the flyout using Enter (but not M) would insert it in move mode but with no potential candidate connections, meaning it could only be positioned via unconstrained move mode. The behavior is now identical whether you're using M or Enter. I also updated a test to ensure that inserting a block with Enter results in an insertion marker being displayed, meaning that the insertion is in constrained move mode.

@gonfunko gonfunko requested a review from a team as a code owner April 10, 2026 20:43
@gonfunko gonfunko requested a review from mikeharv April 10, 2026 20:43
@github-actions github-actions bot added the PR: fix Fixes a bug label Apr 10, 2026
Copy link
Copy Markdown
Contributor

@mikeharv mikeharv left a comment

Choose a reason for hiding this comment

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

Good find! Thanks for adding coverage too.

@gonfunko gonfunko merged commit 0c4ec19 into v13 Apr 15, 2026
9 checks passed
@gonfunko gonfunko deleted the enter-insert branch April 15, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants