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.)