Ionaru/easy-markdown-editor

forceSync=true is not working.

Closed this issue · 1 comments

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

My bad its working.