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.41k stars 316 forks source link

forceSync=true is not working. #585

Closed melloware closed 6 months ago

melloware commented 6 months ago

Describe the bug The docs for forceSync say it will automatically sync to the original textArea but I am not seeing that behavior.

To Reproduce Steps to reproduce the behavior:

Reproducer: https://stackblitz.com/edit/easymde-urbxmv?file=index.html

  1. Start typing. I can see that forceSync calls cm.save()`
  2. View the HTML source and you will see the original textArea does not contain the new text.

Expected behavior

The textArea should contain the edited text

melloware commented 6 months ago

My bad its working.