Support copying selected text as HTML