Skip to content

Our blocks should not assume they are Blockly.BlockSvg #297

@lizlooney

Description

@lizlooney

In a headless workspace, blocks are just Blockly.Block, not Blockly.BlockSvg.
You can tell whether a block is a Blockly.BlockSvg with block.rendered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions