ui-codemirror
ui-codemirror copied to clipboard
Does not support merge mode
There is no way, currently, to leverage the Code Mirror merge addon. The tricky thing here is that it's a different constructor, and does not follow the same API as the normal CodeMirror constructor.
It's quite likely that a second directive will need to be created to support this.
Not guaranteed to be bug-free or feature-complete, I needed to get it working quickly and I'm not an AngularJS expert, so it's a very quick & hacky fix:
Angular Directive for CodeMirror + Merge Addon. https://gist.github.com/okdewit/0b46319000e78c58cfe2
Still working on it, any input is welcome.
:+1:
Perfect CarlAmbroselli/ui-codemirror works for me