style(editor): better interaction with copy button, minor fix in html