add code-mirror editor