Skip to content

Commit f2e6ed7

Browse files
authored
Include shadow blocks in delete count (#116)
1 parent 158e987 commit f2e6ed7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/multiselect_contextmenu.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,6 @@ const registerDelete = function() {
614614
if (!block || hasSelectedParent(block)) return;
615615

616616
const countBlockAndDescendants = function(currentBlock) {
617-
if (currentBlock.isShadow()) return 0;
618617
let count = 1; // Initial block
619618
for (const input of currentBlock.inputList) {
620619
if (input.connection && input.connection.targetBlock()) {

0 commit comments

Comments
 (0)