Hi, after spending a lot of time searching through the forum and documentation I failed to learn how to be able to use the KeyPress event of a TinyEditor.
‘ This doesn’t work
Private Sub TinyEditor1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TinyEditor1.KeyPress
‘Do something
End Sub
The TinyEditor is used by all users but only one user may be editing the text. In order to achieve this I “lock” the field while it is being used by someone. To prevent field being locked unneeded I made a timeout that will unlock the field after a certain amount of time. This time out needs to be reset if a user is actualy changing the field and thats where the keypress would come in handy.
Could you provide a mini sample on how to catch keyPress events on a TinyEditor?
Any help would be greatly appreciated!
Vincent
TinyEditor works fine.
TinyMCE never redirected the keyboard events.
Hi, So it’s back again.. for whatever reason keypress events are no longer raised on tinyMCE.
Im using 2.5.23 and I have attached a sample project.
Thanks
Vincent
Thanks for the reply. I’ve tried to create a test project which I can share but ofcourse in that project it worked.
I updated the nuget package for the tinyEditor to 2.5.22 (from 2.5.21) and now it works! I did not test this on the other extended editors like MCE etc.
Anyway, updating to 2.5.22 resolved my issue!
Thanks
Vincent
Hi Vicent
do you refer that code as like in the pic below is not working for you?
Im testing with ver 2.5.22.1 and works ok
If I misunderstand you, please attach us a runnable sample taht reproduce the issue
Regards
Please login first to submit.