Jeroen Akkerman
Jeroen Akkerman
What options did you use on the editor?
Can't reproduce this on any browser, maybe an Electron issue?
Then again, Cypress uses Electron for headless testing ( in CI ) and that works without issues.
This happens because the `CodeMirror` element determines the size of the editor, not the preview element. The reverse happens when you enter this markdown, the preview element will be too...
We may be able to change the behaviour when both values are set. The current behaviour was introduced in https://github.com/Ionaru/easy-markdown-editor/pull/222 as a fix for https://github.com/Ionaru/easy-markdown-editor/issues/206 and possibly https://github.com/Ionaru/easy-markdown-editor/issues/212.
Looks easy enough to add a case for `image` there.
We can probably introduce an option to change default behaviour and target the link instead.
Ref: https://github.com/Ionaru/easy-markdown-editor/issues/198
When changing something in the editor side, the preview side needs to update the rendered markdown, including any images. Because images take a short time to download and render, that...
Could not reproduce this bug, `mde.value('test')` sets the editor correctly to "test" and the editor stays responsive.  Maybe `someNewValue` has problematic input? Please provide more information, like a video...