Merge pull request #8536 from umbraco/v8/bugfix/blockeditor_fixing_deleteAllBlocks

deleteAllBlocks fix
This commit is contained in:
Warren Buckley
2020-08-04 14:57:26 +01:00
committed by GitHub

View File

@@ -281,9 +281,9 @@
}
function deleteAllBlocks() {
vm.layout.forEach(entry => {
deleteBlock(entry.$block);
});
while(vm.layout.length) {
deleteBlock(vm.layout[0].$block);
};
}
function activateBlock(blockObject) {