[editor] How to copy and paste code without rich text formatting?