The following gif file is showing problem. You can see the below content display after the mouse become a circle(this is a mouse click). The below content is there but doesn’t display.
This is my markdown editor and previewer demo. I cover the default
.CodeMirror by using
height: auto and a fix height container.
The most weird thing is that the height of showing content part is 300px. It matches the default height of code mirror if i remove the
height: 100% in my styles.css.
I have two problem need to figure out:
- Is there any better way to setting height of the editor, not the default
- How to solve the problem about showing content in editor as the title says?