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

Automatic Links / Images Paste Formatting button toggle without losing focus. #60

Closed
Laurvin opened this issue Oct 19, 2017 · 4 comments

Comments

@Laurvin
Copy link

Laurvin commented Oct 19, 2017

Would it be possible for the Automatic Links / Images Paste Formatting button in the Comment Formatting Helper to work without losing focus in the editor?

Often I have some text already selected only to find out the button is in the wrong state for what I want to do (I use it in both the on and off position, about 50/50).

It would be really nice that after clicking the button I wouldn't have to select text again or place the cursor back where it was.

Thanks!

@rafaelgomesxyz
Copy link
Owner

I don't get this.

@Laurvin
Copy link
Author

Laurvin commented Oct 22, 2017

Type "two words" in the comments box and then click the Automatic Links / Images Paste Formatting button. Now you can't continue typing cause the 'focus' is no longer on the textarea element. It would be really nice if after clicking the button the focus gets returned; preferably to the exact spot where it was.

Hope that clears it up. :)

@rafaelgomesxyz
Copy link
Owner

Done

@Laurvin
Copy link
Author

Laurvin commented Oct 23, 2017

Amazing, thanks!

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

2 participants