Currently when you copy as rich text, it will not keep the correct colors and formatting when pasting into web-based rich text editors (Google Docs, Webmail and other WYSIWYG). The problem is that browsers want to paste from the HTML clipboard type and pbcopy only fills the plain text and RTF types of the clipboard.
This fix uses a simple applescript to fill the clipboard with the content as plain text, RTF and HTML. Then when you paste, it will retain the colors and formatting.
Currently when you copy as rich text, it will not keep the correct colors and formatting when pasting into web-based rich text editors (Google Docs, Webmail and other WYSIWYG). The problem is that browsers want to paste from the HTML clipboard type and
pbcopy
only fills the plain text and RTF types of the clipboard.This fix uses a simple applescript to fill the clipboard with the content as plain text, RTF and HTML. Then when you paste, it will retain the colors and formatting.