When I removing item which I currently editing I’ve got an error: “Uncaught TypeError: Cannot set property ‘b’ of undefined”.
That’s ok, you just need to close the editor before deletion and it will not try to set value to an unexisting item (which causes the error).
It can be done with the help of the editCancel method: