You are not logged in.
Pages: 1
We're calling Xinha on a textarea with an accesskey:
<textarea name="body" id="body" rows="20" cols="40" accesskey="M" style="width: 100%;">hello world</textarea>
Xinha loads fine, but the accesskey no longer accesses the text area. Is there a workaround for this, or a configuration option I might try to get the accesskey working?
Thanks!
Offline
Do accesskeys on xinhas work for anyone else? Just trying to confirm if its me or not.
Offline
I haven't tried, but I would expect that access keys would not work, I doubt they are transferred from the textarea to the iframe (Xinha uses an "editable" iframe, not the textarea which gets hidden).
If I was to guess, I'd say that it may not even be possible, because I would not be surprised if browsers didn't do anything with an accesskey on the iframe, and with the textarea hidden I doubt we could even listen to an onfocus event.
It's worth a try though, you could quickly test it by looking in XinhaCore.js for where the iframe is created (look for document.createElement('iframe')) and hack an accesskey onto it there. If it works, then we could look at doing something a bit cleaner if you opened a ticket about it.
James Sleeman
Offline
Pages: 1