Open kurucu opened 4 years ago
Related to #206 ?
Possibly? I've just checked and setting maxHeight has no effect on either the editor, the preview or the side by side mode heights. So it seems like a different issue, but that said, they are using a different OS and browser (probably not the cause, but worth noting).
My "fix" for now is as follows, which seems to work in all cases.
.CodeMirror {
max-height: 30rem;
}
Hi @kurucu
EasyMDE version: 2.10.1
maxHeight
option is under unreleased version at CHANGELOG https://github.com/Ionaru/easy-markdown-editor/blob/master/CHANGELOG.md, so it's not included to 2.10.1
You must use master
branch to use this option now.
Released now :)
Great work, I'll give it a spin later today.
Describe the bug Setting {maxHeight: '500px'} in the options appears to have no effect, and the editor continues to adjust height to the content.
To Reproduce Steps to reproduce the behavior:
Expected behavior The editor should expand up to the size defined and then grow now larger, with y overflow scrolling at that point.
Version information