Editor keeps previous value if I directly type into the cell without double clicking

I use “handsontable”: “14.6.1”

I have an editor that is inherited from BaseEditor and I have such a case when you click on the cell (with a single click) and enter the value “1” then click on the cell somewhere below in the same column with the same editor and start typing value “2” it will have previously entered value plus current “12”.

When I debug the BaseEditor I see that there is an “if” condition (in the “beginEditing” method) for the “this.isInFullEditMode()” that makes setValue to the editor be skipped.

If I click on the cell twice then it runs the “if” condition this.isInFullEditMode() with true value and sets an empty string to the editor.

Should I somehow handle clearing the editor by myself?

I also debug TextEditor, and I see that the TEXAREA is cleared in the “prepare” and “beginEditing” methods.

Would implementing the same logic in my custom editor inherited from BaseEditor would be correct? Was clearing of the editor meant to be always implemented manually for such cases? Or do I understand something incorrectly?

I’m sorry, I have no luck to implement this case in JsFiddle.

This is how my issue looks like (I use direct input into cell, do not double click on it):