[vim bindings] Check if cm.save() is available before saving
cm.save() might not exist if CodeMirror is not created from a textarea. This adds an additional check to prevent TypeErrors.
Loading
Please register or sign in to comment
cm.save() might not exist if CodeMirror is not created from a textarea. This adds an additional check to prevent TypeErrors.