PDA

View Full Version : Making a new KeyMap for a textarea



DpinkyandDbrain
11 Jul 2012, 7:28 AM
I would like to make a sort of editor using extjs.

At the moment I am using TextArea I'm wondering if I can make my own keyMap to make the spacekey a special key?

-DpDb

mitchellsimoens
16 Jul 2012, 4:48 AM
You would need to override Ext.EventObject's isSpecialKey method to include the space bar.