Skip to content

editor.IsEditable returns true for custom blocks when editable is set to false #1477

@jacke99

Description

@jacke99

After the latest update editor.isEditable seem to always returns true for my custom blocks. I have added some conditional behavior for my custom blocks depending on whether the editor is editable or not. After the latest update the condition that triggers when the editor is in edit mode is always active.

I tried making a copy of the default image block and just logged the editor.isEditable in the render function while the block is being used in a non editable editor. Which returned true.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions