-
Notifications
You must be signed in to change notification settings - Fork 152
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
autofocus only works if Editor is created with a mobiledoc #511
Comments
Agreed, added this to the draft features 1.0 doc, will make a milestone or something today. |
Also ran into this issue. |
Minor nit: autofocus only works if Editor is created with a mobiledoc with sections. That is to say, the |
FWIW, seems like this fix doesn't work in Safari. It's unclear if it's due to something specific in our implementation or a more general problem. |
Seems that |
This currently will not autofocus, because there is no document, therefore nowhere to place the cursor:
This works:
Auto-creating a blank mobiledoc if not provided may have some unwanted side effects.
Perhaps offering a public constant to a blank doc could be a compromise:
The text was updated successfully, but these errors were encountered: