Hi, i want to remove the dragged blocks by clicking the reset button but only one block got deleted not the second one
<-----code---->
function reset() {
if (Blockly.selected && !Blockly.selected.workspace.isFlyout) {
Blockly.Events.setGroup(true);
Blockly.hideChaff();
Blockly.selected.dispose(/* heal */false);
Blockly.Events.setGroup(false);
}
delete inputTextValue;
redrawUi();
}
Please help me with problem!!