-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Issue with Html and other targets/formats #13
Comments
I had a similar issue. It turns out the size calculations around line 220 in winclipboard.py are incorrect for EndHtml, StartFragment, and EndFragment, because html_header_size already includes the description_size. The code as it is now makes the EndHtml, StartFragment, and EndFragment values too big. Removing It was a little challenging to debug because it looks like Excel and other programs are more forgiving of invalid values so it appeared to be an issue with Word in my case. |
Thanks for your help @johnsdouglass !
Then I have this error:
Now I don't get any error but nothing is paste. |
Hmm. I just tried your example and it works fine for me. Can you verify that lines 218-233 look like this:
|
Sorry I misunderstood your post. I corrected it and now the But still nothing with the At least there is a way to make it work, so thanks a lot for help! |
I am using this old HTMLClibpboard script but I wanted to change for your package but I didn't succeed in making it work.
When I use this
and then paste in some HTML editor (like the one from zotero which use TinyMCE) then it's the plain text that is sent and not HTML. (I tried on Zotero on two different computers.)
I also tried this
but then the clipboard is empty: nothing happens when I paste and
Windows 10, python 3.6
The text was updated successfully, but these errors were encountered: