12. Prefer range to clipboard
I’ve attempted several times to get a clean clipboard item that will paste well into blogging platforms (Medium, dev.to, Hackernoon, Hashnode, etc.).
While manual copy and paste worked, programatic copy and paste inserted additional whitespace.
To ensure clean copy and paste, prefered
Clipboard. Ranges allow one click selection of elements, allowing the user to easily grab a range and use system copy/paste.
This will require two steps. But the output is more reliable.