-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Paste content #392
Comments
Thanks, I'll have a look into it when I can. |
OK, this one I can't replicate at all. Can you replicate it in a plunkr or similar please? |
Can't quickly reproduce in plunkr, however if I modify the
to
error is gone, this reminds me what I ran into another project: witoldsz/angular-http-auth#48 also that link mentions that regular for is faster :) maybe if you could change all foreach to for so that we could fix other similar issues and increase the performance? :) |
another thing related to pasting: if I keep on pressing Ctrl+V content is inconsistent. It starts pasting then at some point trims, so if you had 50 characters and continue pasting all of a sudden you may end up having 10 etc. And this keeps repeating. This dirty quick fix addresses it:
becomes
|
if you open this plunkr - http://plnkr.co/edit/9VK84LnXR5h9YnQvq00V?p=preview in Chrome and IE11, then select text from any textangular field in IE and do paste into any textangular field in Chrome, then that field in Chrome with get extra markup, basically you will end up inserting a textangular editor into textangular editor. Other side effects I've encountered include additional markup or even script tag content |
Thanks for the details, I'll look into it when I can. |
…r referencing etc Remove for...in loops, #392
Just stuck on the multi-paste issue currently, not sure about the quick and dirty fix. Biggest problem I'm finding with this is that the "Solution" is a hack from here: http://stackoverflow.com/questions/2176861/javascript-get-clipboard-data-on-paste-event-cross-browser/6804718#6804718 My concerns so far are:
|
Well, can't really say much here, never tried to handle the paste data in the browser. Wild guess: maybe it is possible to disable any pasting while current paste operation is in progress? |
Thanks, Good suggestion, I'll see if I can do that. |
Helps if I push the fix up... Waiting on one more issue to come back and I'll push a pre-release. |
It is ok, I can wait for the new -pre. |
Ok, pre-release 18 is out and should be fixed now. |
Hi,
didn't test in other browsers, but IE11: if I copy content/some part of it from the editor and try to paste back it crashes with:
P.S.: using 1.3.0-pre12
The text was updated successfully, but these errors were encountered: