prathamVaidya / supercode-tinymce-plugin

Opensource and Powerful Source Code editor for TinyMCE. It is the only tinyMCE plugin that allows TinyMCE to work as a Markdown Editor.
https://supercode.prathamvaidya.in
GNU General Public License v3.0
11 stars 4 forks source link

Doesn't save code #8

Closed Scoffins closed 3 weeks ago

Scoffins commented 1 month ago

If you make changes in the codeview then try to submit the form without first switching back to editor view, the changes arent saved and are lost. This is incredibly frustrating for me, so I imagine it would be infuriating for users.

prathamVaidya commented 1 month ago

Thanks for pointing it out, I'll push a fix for this ASAP.

prathamVaidya commented 3 weeks ago

@Scoffins here is the PR that adds a live save for the in-view editor mode and fixes your issue.

LMK if you can review or test this yourself https://github.com/prathamVaidya/supercode-tinymce-plugin/pull/9.

I have tested and self-reviewed it. I'll close this in a day after some more tests.