View Single Post
Old 10-13-2023, 07:57 AM   #61
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
I think your detective work is spot on. This probably has to do to the changes related to markdown support in calibre.

But as far as I can tell, the code Kovid wrote properly identifies the mimetypes of each data blob on the clipboard.

Using Edit->Paste looks for html markup and if it finds it, it should use that but PageEdit 2.0 is being confused and it applies the text/markdown data blob and not the text/html data blob from the clipboard.

The best I can do with Edit->Paste is test if text/html exists on the clipboard and remove other mimetypes and blobs from the clipboard if you say No to force pasting plain text.

Please try regenerating the debug log file when saying No to the popup so I can better see what is going on.
KevinH is offline   Reply With Quote