Skip to content

Add a blocklyNotEditable CSS class to the block's root SVG #8266

@BeksOmega

Description

@BeksOmega

To Fix

In the BlockSvg class' setEditable method, call dom.addClass on the this.svgGroup_ to add a blocklyNotEditable class when the block is not editable, or dom.removeClass to remove the class when the block is editable.

The PR to fix this should be made against the rc/v12.0.0 branch.

To work on this issue, please comment below asking to be assigned.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions