scniro / react-codemirror2

Codemirror integrated components for React
MIT License
1.66k stars 193 forks source link

How do you change the the height of the editor? #179

Closed mehmetron closed 4 years ago

mehmetron commented 4 years ago

I've tried to change the height of the editor with all the options I could find but the editor won't change.

It just covers the top 30% of the screen and nothing more.

scniro commented 4 years ago

Likely need to look into your css/styling, this package don't concern itself with height specifics

dzucconi commented 4 years ago

Supporting the style prop and spreading rest props would be useful for those of us not using CSS, however.