ngx-codemirror
ngx-codemirror copied to clipboard
Div inside codemirror wrapper does not fit to host
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
Div in question:
Solution:
Add this to your component css file:
::ng-deep { div .CodeMirror.cm-s-idea { height:100%; } }
Still would be nice to have this functionality out of the box. Could this be added?