issues
search
angular-ui
/
ui-codemirror
This directive allows you to add CodeMirror to your textarea elements.
http://angular-ui.github.io/ui-codemirror
MIT License
378
stars
193
forks
source link
Added dependency injection and blur event
#148
Open
morellodev
opened
5 years ago
morellodev
commented
5 years ago
Hi, this pull request contains the following changes:
added dependency injection for "$timeout" and "uiCodemirrorConfig" to uiCodemirrorDirective
fixed a typo ("codemirrot" -> "codemirror")
emit HTML "blur" event when codemirror instance loses focus (this is required, for example, to update ngModel on blur through ngModelOptions)
Thanks!
Hi, this pull request contains the following changes:
Thanks!