I am trying to use the ui-codemirror angular directive from the code mirror angular library , and the use case is that I have to put it in a custom directive.
But when I put it in a custom directive, I cannot see the code mirror in the text area. infact, the text area becomes unavailable for editing.
But when I place it outside of the user directive, it works as expected.
I am attaching a violin code for this http://plnkr.co/edit/NVFuumrGq2FJ8d8EC8Xn?p=preview , I donβt even have the ability to debug, as there isnβt even an error. Failed to conclude if this is an error. Please help me.
Last Updated (January 17, 2014) -
I posted the same as the problem in mirroring the git hub repo code. The person working on it confirmed that this is a mistake, and that he is not going to correct it yet. So we can try workarounds. see https://github.com/angular-ui/ui-codemirror/issues/36#issuecomment-31925751
angularjs angularjs-directive angular-ui codemirror
Harish kayarohanam
source share