Skip to content

Conversation

@microbit-matt-hillsdon
Copy link
Contributor

Share insert code with flyout insert.

This aligns top level block placement too.

Potentially we use the same approach for Duplicate too.

Closes #478

Share insert code with flyout insert.

Closes RaspberryPiFoundation#478
@microbit-matt-hillsdon
Copy link
Contributor Author

I found #476 while testing this but it predates this change.

@RoboErikG
Copy link
Contributor

Code looks good overall, but for now lets go with placing the block instead of putting it in move mode both to be consistent with other editors and so it doesn't cause issues with using a mouse for copy/pasting.

Copy link
Contributor

@RoboErikG RoboErikG left a comment

Choose a reason for hiding this comment

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

Please update to place the block instead of leaving in move mode.

@microbit-matt-hillsdon microbit-matt-hillsdon marked this pull request as draft May 1, 2025 11:12
@microbit-matt-hillsdon
Copy link
Contributor Author

Thanks @RoboErikG, I agree this needs more thought for the impact on mouse users and it looks like we have copy/paste input inbound from user testing so I'll park this one for a bit until I get my head around that.

@microbit-matt-hillsdon
Copy link
Contributor Author

Closing in favour of keeping paste more like regular Blockly as on #501.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Put pasted blocks in move mode

2 participants