Add copy button to pre elements on preview