Ideally this would be Copy as JSX an not HTML. If you want HTML, you can always switch to the Elements tab for those operations.