-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bind to DOM elements other than textarea and input. #208
Comments
Hi, have you managed to bind it to other elements besides textarea or input? |
You can bind and trigger a keyboard to open on content editable elements now, but there is a javascript error when trying to get the caret position within the contenteditable element. This is a problem with the included caret positioning plugin. I have been considering changing the caret positioning plugin over to Rangy, but it would require some modifications to work with this plugin. I have also thought about using this input mask plugin to do all the caret positioning work, and provide a method to add an input mask. Either way, it's not something that will get done soon. Sorry :( |
Contenteditable support added in v1.27.0-beta. |
I would like to add an alternate mode which fires off keyboard events rather than appending text (for use with DOM elements other than input and textarea). Should help with people who would like to use a virtual keyboard with webgl and canvas games and the sort. Pull requesting when I get the free time to code it up.
The text was updated successfully, but these errors were encountered: