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

Chrome: Ctrl-V paste doesn't become an insertion, sometimes #18

Closed
drboone opened this issue Jun 11, 2012 · 6 comments
Closed

Chrome: Ctrl-V paste doesn't become an insertion, sometimes #18

drboone opened this issue Jun 11, 2012 · 6 comments

Comments

@drboone
Copy link

drboone commented Jun 11, 2012

Ctrl-V paste doesn't become an insertion, sometimes. Seems to help, but not completely cure, to select, copy, right click somewhere else, dismiss the context menu, then position and ctrl-v to paste.

@drboone
Copy link
Author

drboone commented Jul 17, 2012

Updates:

It appears that the first paste is usually successful. Subsequent ones in at other locations in the text seem to fail. If subsequent ones are done without moving the cursor, they usually appear to be tracked.

So I suck at this whole javascript/dom thing, but it looks to me like on Chrome, tinymce.dom.EventUtils.add() gets executed when a paste event happens. On firefox, assuming I'm flying firebug correctly, it does not.

Sanity check, someone?

@delambo
Copy link
Member

delambo commented Nov 13, 2012

@drboone - Chrome/webkit has some paste issues. Our staff uses Firefox so it hasn't been a pressing issue but we may start a push soon to fix the webkit ice issues. I'll keep you updated.

@johanneswilm
Copy link
Contributor

@delambo - It would indeed be very much appreciated if one start to look at Webkit. It has quite a lot of contentEditable issues it seems.

@delambo
Copy link
Member

delambo commented Jan 20, 2013

ice work is picking up again. May be working on webkit issues soon.

@johanneswilm
Copy link
Contributor

Ok, I have spent much of this Weekend and my "list-support" tree now works good in Webkit and also somewhat better in Firefox regarding all that.

I have not finished supporting actual lists though, which is why I haven't merged it back into my master branch. Some things seem to be plain impossible -- such as putting the caret at the very end of a paragraph (with certainty).

@delambo
Copy link
Member

delambo commented Jan 31, 2013

Closing this and will take care of webkit pasting bugs in #44.

@delambo delambo closed this as completed Jan 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants