Skip to content
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

No Focus #28

Closed
mark-wade opened this issue Jul 3, 2014 · 1 comment
Closed

No Focus #28

mark-wade opened this issue Jul 3, 2014 · 1 comment
Assignees
Milestone

Comments

@mark-wade
Copy link

When you launch the dialog, the code box is not focussed. It would be useful if it was so that you can start typing code without having to click into the box.

@prbaron prbaron self-assigned this Jul 4, 2014
@prbaron prbaron added this to the v1.3.0 milestone Jul 4, 2014
@osxi
Copy link
Contributor

osxi commented Jul 7, 2014

You can achieve this by giving your textarea an ID (or a class) and then using some jQuery along the lines of:

$('#yourTextAreaID').focus();

@prbaron prbaron closed this as completed in 1557862 Aug 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants