Delete annotation and shapes in editable mode

The editable mode of Plotly.JS is really great.

I want to add the ability to remove annotation/shapes. For examples, select an annotation and press Delete key should remove it.

How difficult is it to modify Plotly.JS source code for this features? Which module should I look into?

This one:

Actually, if you drag the added annotation to other place and click the original point again, the annotation will be moved. Please see here.

Hi andrey,
did you found a solution for this, actually i am stuck in some same sort of problem.

Some years later: also looking for an answer :smiley: