ganzogo / specialedit

A jQuery plugin to provide buttons for special characters next to text inputs.
http://www.ganzogo.com/projects/specialedit
Other
7 stars 0 forks source link

Make specialedit use CAPS LOCK #3

Open ganzogo opened 13 years ago

ganzogo commented 13 years ago

It is not possible to read the current status of CAPS LOCK using JavaScript, so this is non-trivial.

However, there are solutions which figure it when a text input receives a keypress event. We could do this, and then just remember the state, reassess it every time and invert it when the CAPS LOCK key is pressed.

Not sure exactly how that would look and feel, but it seems worth trying.