Thread:Support/About Blockly:Code.discard/en/reply (2)

Thanks. %1 is the number of blocks to be deleted, and seems to be 2 or more... var count = Blockly.mainWorkspace.getAllBlocks.length; if (count < 2 ||     window.confirm(BlocklyApps.getMsg('discard').replace('%1', count))) {