Skip to content

Add support for insertion markers wrapping blocks mid stack #6898

@BeksOmega

Description

@BeksOmega

Check for duplicates

  • I have searched for similar issues before opening a new one.

Problem

Scratch's insertion markers will wrap blocks mid stack:

ddd008ab-cd13-4b8b-ae21-97a16cec7982

However this is not supported in core blockly:
38bd759f-301d-4e7e-871e-c31cf749daff

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions