Mac: add support for copy/pasting of images and HTML