Copy as HTML Table - Works, but not quite

guttormvik

Member²
When I paste into OneNote, I get some extra debug text:
Version:0.9 StartHTML:〰〰##0000 EndHTML:〰〰##0000 StartFragment:〰〰##0000 EndFragment:〰〰##0000 StartSelection:〰〰##0000 EndSelection:〰〰##0000

If I try to paste to other programs it doesn't work at all.
For instance, if I paste to Teams, I get nothing. If I paste to a text editor, I get nothing.

For text editors, I assume they expect the clipboard entry to be available in multiple formats, and only pick the plaintext one?
For Teams I don't know. It does support rich text. If I 1st copy to OneNote, and then copy-paste from there, I get the expected result
 
In Word and Outlook it seems to work fine. In OneNote I do indeed get these extra lines.

The data should indeed be placed on the clipboard in both HTML format and plain text format.

We'll look into this.
 
Update: Looks like I was too quick..
The reason it displayed as "html as plaintext" in OneNote, was that this was my default setting..
For some reason, the little "Copy Options" overlay didn't show up. When I forced it back on and switched to the "formatted" option, I got the expected result.

---------
Original post
---------

So sorry Marco, but in beta2 it is differently broken..
Now, when I paste in OneNote, I get the html as plaintext

These work as expected:
When I paste in Teams or Word I get a proper table
When I paste in a plaintext editor, I get the plaintext html
Teams also supports ctrl-shift-V to paste "without formatting", which gives me the plaintext version

Can it have to do with order? Are you supposed to have the clipboard variants in a "preferred" order, and then the paster picks the 1st it supports?
 
Last edited:
Back
Top