Knockout bindings for the code-mirror editor