Read text from the clipboard, edit it, and write both plain text and formatted HTML back to the clipboard.