We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent affcd6e commit c950147Copy full SHA for c950147
1 file changed
plugins/block-test/src/fields/defaults.js
@@ -234,7 +234,7 @@ export function onInit(workspace) {
234
.getWorkspace()
235
.getAllBlocks(false);
236
for (let i = 0, block; (block = blocks[i]); i++) {
237
- block.setEnabled(!block.isEnabled());
+ block.setDisabledReason(block.isEnabled(), 'Toggle block enabled');
238
}
239
};
240
const toggleShadow = function (button) {
0 commit comments