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

Error on pasting #20

Open
bharathkarthi09 opened this issue Apr 9, 2016 · 1 comment
Open

Error on pasting #20

bharathkarthi09 opened this issue Apr 9, 2016 · 1 comment

Comments

@bharathkarthi09
Copy link

Continuously pasting the content till reach the limit , once we reached the limit "Undo" Ctr+Z it will exceed the limit. :(

@st-h
Copy link
Owner

st-h commented Mar 15, 2018

@bharathkarthi09 thanks for reporting, even though this issue is quite old by now. However I could not find a way to make this work in a clean manner so far as this issue depends on the os. For instance ctr+z will not be affected on a mac, whereas apple+z is. Some combinations of modifier keys will insert special chars, whereas some will trigger other behaviour. Additionally this issue only seems to appear in firefox but not in chrome in version 1.0.0 of this addon as browsers handle key events differently. So we could add some workarounds to make that work, but it seems to be very difficult to get all edge cases right and we will most likely only break other things. Unless we can find a good way to resolve this, we unfortunately will accept the fact that undo will be broken on some browsers/OS when the limit of chars is exceeded. I'll leave this issue open in case other people will run into this issue as well or someone has a good idea how to resolve.

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