Skip to content

Commit 5ed3836

Browse files
authored
Update piemenus.js
creating a prompt notification for the deleted blocks
1 parent f8830d2 commit 5ed3836

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/piemenus.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3505,6 +3505,10 @@ const piemenuBlockContext = (block) => {
35053505
that.blocks.sendStackToTrash(that.blocks.blockList[blockBlock]);
35063506
}
35073507
docById("contextWheelDiv").style.display = "none";
3508+
// prompting a notification on deleting any block
3509+
activity.textMsg(
3510+
_("You can restore deleted blocks from the trash with the Restore From Trash button.")
3511+
);
35083512
};
35093513

35103514
wheel.navItems[3].navigateFunction = () => {

0 commit comments

Comments
 (0)