HTML editor behaves unpredictably at non-default browser zoom levels [edit: corrected title; bug is about TinyMCE HTML editor, not Structured Text]

The bold-on-paste bug: That’s actually a long-standing Google Docs bug :person_facepalming: They produce invalid HTML on copy. Google is unlikely to ever fix it, unfortunately, and many text editors suffer from it… it produces markup like this, even for that plaintext string:

<b style="font-weight: normal"
  id="docs-internal-guid-08817a0f-7fff-5a2b-a024-9186058c4d69"><span style="
        font-size: 11pt;
        font-family: Arial, sans-serif;
        color: #000000;
        background-color: transparent;
        font-weight: 400;
        font-style: normal;
        font-variant: normal;
        text-decoration: none;
        vertical-align: baseline;
        white-space: pre;
        white-space: pre-wrap;
    ">MDN is an open-source</span>
</b>

We had actually to make a workaround for it for Structured Text… see details in that other thread: Structure Text editor does not copy/paste styles anymore - #8 by roger (note that this is actually Google’s bug… we just make a workaround, like all the others mentioned in that link had to do too… because nobody at Google cares enough to fix this, sigh)

I’ll ask the devs if we can make a similar workaround for TinyMCE (the HTML editor you’re having trouble with).

Interim workaround: Don’t copy from Google Docs, or paste it without formatting. Or paste it into another word processor first, and then copy THAT word processor’s output into Dato. Or use Firefox (which cleans up the Google Docs HTML on copy, bypassing Google’s bug).