designWorkspace.getAllBlocks()
.forEach(b => b.setDisabled(isDisabled))
{readonly: true}block.setMovable(false);This might work. I want to make the workspace read-only when a WebSocket connection is down, and re-enable editing when the connection is reestablished.
designWorkspace.getAllBlocks()
.forEach(b => {
b.setMovable(!isDisabled)
b.setEditable(!isDisabled)