How do I copy/paste website content WITH formatting
Is there a way to copy-paste website content with formatting in Google Chrome? Perhaps an extension that gives such an option?
Well, Chrome, or any modern browser, when copying your selection, will always copy the HTML (i.e., with formatting). The software you're pasting it into, however, need to support this (most office programs do, but you might need to select "Paste Special" or Ctrl+Shift+V).
Still, the browser will only copy the HTML, but not the styles associated with it, so any indirect formatting through CSS rules will most likely not be copied and, in fact, it would be very difficult to copy them.
Like Stefan said, any browser will copy the html, but you need to paste it into a program that will recognise it.
This is something I've been trying to do today, and there are some great wysiwyg editors you can use:
- CKeditor
- TinyMCE
I wish there was a preview mode for these, but well, they work!
In Google Chrome, you can select the text (don't need to be completely precise at this step, as you will need to select again), then Inspect
(or Ctrl+Shift+I), and then you have options (Copy Outer HTML
,Edit as HTML
) to copy the HTML code as the 'text/plain' MIME type the text editor prefers.
That might be an add-on free option if your editing environment (my case too) does not provide proper support for pasting MIME flavors other than plain text.