Added method to support turning textareas into codemirror editors.