How to remove the delete feature in BPMN IO?

I want to remove the delete functionality if i press “Delete” button on my Keyboard. Please suggest which lines i should remove or comment out

Hello @Bindu_Madhav,

do you want to remove the ability to delete elements or just for the ‘Delete’ key?

Cheers,
Ricardo

I want to disable the ‘delete elements’ functionality, which is represented by trash bin on UI using ‘Delete’ key for some specific elements.

You’d have to remove the keybinding and the context pad entry. Take a look at the keyboard bindings and at the context pad provider to get started.

Hope that helps.