-
Notifications
You must be signed in to change notification settings - Fork 334
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
need .focus() method #223
Comments
This is a good idea. I'll try to get it into the next release. Until then, does |
no it didn't work so i had to do a combination of both:
...your quick responses are very nice by the way, thank you |
I'd have to try this, but triggering https://github.com/OscarGodson/EpicEditor/blob/develop/src/editor.js#L1194 That should work. Let me know if it doesn't. If it doesn't I think it's this issue: Which is because IE wants to focus on the iframe and FF/Chrome wants to focus on the body. |
…getting focus to work across browsers. This also fixes the problem with IE9/10 where the shortcuts only worked the first time and you had to click into the editor to get them to work again. To do: docs and tests
OK, you can see commit 531a978 above. It's not in develop yet as I need to write tests and docs for it before, but this allowed me to fix another bug too so I'll just get it into this release. |
Thank you very much, let me know when the release is up and ready (or is there a way i can get a notification?) |
When I close this issue and/or comment you will get an email notification unless you've manually unwatched this thread. :) |
…g that as another ticket for 0.3.0
… Removed is() support since it was turning out to be too much work. It's now it's own ticket (#229). This fixes the IE9/10 issue where the editor was not focused so you could keep typing after switching over to the preview() (through clicking the icons or doing a key command).
This is now in develop. Let me know if it works well! You can now just call |
I am trying to set focus right when the user opens a bug
currently I am using this code:
but I suppose it is better to add a .focus() method?
The text was updated successfully, but these errors were encountered: