Don't display error when pasting text on Chrome