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

Prevent concurrent edit requests for one element #151

Open
vfaronov opened this issue Jul 27, 2018 · 1 comment
Open

Prevent concurrent edit requests for one element #151

vfaronov opened this issue Jul 27, 2018 · 1 comment

Comments

@vfaronov
Copy link

Thanks for the nice extension!

One problem: If I focus a textarea and click Edit in Emacs twice, I get two outstanding requests to the edit server. This means I’m editing the same text in two different buffers. This makes it rather easy to lose track of what’s happening. I often need to work on multiple complex pieces of text at a time, switching between different pages, windows, etc.

I wish there was an option to make it clear for a particular textarea that an edit request is outstanding and/or prevent further requests until that one finishes. Perhaps some kind of visual overlay/mask over the element that is being edited.

@stsquad
Copy link
Owner

stsquad commented Jul 30, 2018

I think we should be able to track the connection somehow. There is a little bit of funkiness as the edit request is sent by the "background process" so is one step removed from the extension running on the page.

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