ngx-codemirror
ngx-codemirror copied to clipboard
Codemirror Wrapper for Angular
My package.json "@ctrl/ngx-codemirror": "^5.1.1", "@types/codemirror": "5.60.5", "codemirror": "^6.0.1", ``` Error: node_modules/@ctrl/ngx-codemirror/codemirror.component.d.ts:4:10 - error TS2305: Module '"codemirror"' has no exported member 'Editor'. 4 import { Editor, ScrollInfo, EditorFromTextArea, EditorChange } from...
Passing a text to property value does not reflect on code editor. ngModel does not reflect the value too. Value: ```html ``` ngModel: ```html ``` ```typescript headerText = 'Header' ```
Pretty new to Angular. I am hoping to use this component inside `mat-form-field`, is it supported or is there any workaround? Thanks in advance. If this feature is not supported...
I try to use this addon: https://codemirror.net/demo/loadmode.html The idea is to put all folder languages in my assets dir, and give formatted url etc ... How can i access to...
Please, Add required options! ```html ``` Thanks.
I accidentally updated to v5.1.0 and it does not work with Angular 12. ``` ERROR ReferenceError: require is not defined at e.get codeMirrorGlobal [as codeMirrorGlobal] (main-es2017.288b33d35bec7fd4a44d.js:1) ... ``` Downgrading to...
Same as in [old issue](https://github.com/scttcper/ngx-codemirror/issues/169) about using ngx-codemirror in Angular Library Trying to create a component that uses ngx-codemirror in our library, but it doesnt build in target app for...
I'm using angular 9, thus I installed ``` npm install @ctrl/ngx-codemirror@3 codemirror ``` which installed `@crtl/[email protected]` and `[email protected]` Then I included the module like described in the docs, ie I...
Do you plan to support the version 6 of Codemirror ? Even if the new version is natively in Typescript, I think it would still require to be wrapped in...
Problem:  Altough the codemirror wrapper has a style with 100% width and height applied to it the div inside the element does not use 100% of the host dimensions...