ItemEditor in Spanish

I am using the Tree control with item editting enabled. All works fine. But I need to be able to enter accented characters easily from an English keyboard. I have used the javascript from How to Type Spanish Accents on an English Keyboard with great success. However, it does not work with the item editor on my tree. How can I integrate this functionality?


Editor in dhtmlxTree cell is simple element with attached .intreeeditRow class, defined in dhtmlxtree.css file.
There is no easy way to integrate with extension with dhtmlxTree editor. It can be done only with code modification.