Support more formats when pasting from clipboard