Fixed bug where paste plugin wouldn't paste plain text properly when pasting using browser menus.