useHotEditor missing open event

Hello,

I am trying to add some functionality to a custom editor that when a user opens it by hitting enter, it removes the existing value and when they open the editor by clicking on it leaves the value intact.

I am using the new useHotEditor react hook for this.

The previous class based editors, utilizing BaseEditor had a parameter on the Open function that could be used to do this. The new hook open function does not appear to.

Is there another way of doing this that I haven’t spotted?

(I could have the table record all of the user input events elsewhere and then have the editor check that when it opens but that’s fairly messy and I would rather not unless I have to.)

Hi @Kastarian

Please send your license ID to support@handsontable.com. Guidance and code reviews for custom editors, validators, and renderers are only available in higher support plans.

Hello @aleksandra_budnik

I have sent the request email.

Thanks.

1 Like

Thank you. We will continue on emails.