Activate Delete key on the properties-panel example


#1

Hi,

I would like to activate delete key to delete elements from my model
Exactly like I press the trash button
image

It is written on the source code but , when I click to Delete it doesn’t work like the online demo


#2

Please bind the keyboard to achieve that functionality:

var modeler = new BpmnModeler({
  ...,
  keyboard: {
    bindTo: document
  }
});

#3

Thanks it works for me :grinning::grinning::grinning: