Editable node


How can I restrict textarea to close on escape keypress event?

Clicking the ESCAPE key is supposed to cancel the editing operation. So it should be closing the text editor and restoring the original TextBlock contents. Is that not what you are seeing? Can you tell us how to reproduce contrary behavior?

I have textValidation property on my textblock object. When some validation fails there, then also on ESCAPE makes it non-editable. I want to keep focus on my textarea until the validation error has been fixed.

If you really want that behavior, you will need to customize the textarea text editor. But I highly recommend that you do NOT make that change, which could be very frustrating to users.