Add support for insertion markers wrapping blocks mid stack #6898
Labels
component: insertion marker
issue: feature request
Describes a new feature and why it should be added
low priority
Check for duplicates
Problem
Scratch's insertion markers will wrap blocks mid stack:
However this is not supported in core blockly:
![38bd759f-301d-4e7e-871e-c31cf749daff](https://user-images.githubusercontent.com/13686399/224439310-ecc9690b-f6da-4df0-b5cb-32b5bc411188.gif)
Because it requires monkey patching the connection: connect and doDragChecks which now lives in the connection checker. It also requires patching the insertion marker manager. See this discussion for more info: #6876 (comment)
Request
Add support for insertion markers wrapping blocks mid stack.
No clue what APIs we would need to actually implement this though. I think the first patch is especially complicated, because it lives in the connection code and is incompatible with the current behavior.
Alternatives considered
N/A
Additional context
Linking the original discussion that surfaced this issue again: #6876 (comment)
The text was updated successfully, but these errors were encountered: