Ionaru / easy-markdown-editor

EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://stackblitz.com/edit/easymde
MIT License
2.39k stars 316 forks source link

Content fails to load when element isn't yet in the DOM on page load #260

Closed Canuckaholic closed 3 years ago

Canuckaholic commented 3 years ago

Describe the bug Related to https://github.com/codemirror/CodeMirror/issues/2469

When a screen of my web app first loads, the easyMDE text area component isn't yet in the DOM. When it is loaded, there is content that I'm expecting to appear in the easyMDE text area from setting its value (easyMDE.value('value'), however it doesn't appear until I click into the field.

Ionaru commented 3 years ago

249 might resolve this.