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

how to make the editor autofocus be false? #102

Open
zp1112 opened this issue Oct 14, 2016 · 1 comment
Open

how to make the editor autofocus be false? #102

zp1112 opened this issue Oct 14, 2016 · 1 comment

Comments

@zp1112
Copy link

zp1112 commented Oct 14, 2016

When I location to the topic page,it positioned in the comment box anchor but not the top of page.

@AnsonKong
Copy link

Use the jsdelivr CDN version, it won't set autofocus to true. And when you want to focus, just call editor.codemirror.focus() after editor.render().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants