hectorguo / CKEditor-Markdown-Plugin

Markdown Plugin for CKEditor
http://hectorguo.github.io/CKEditor-Markdown-Plugin/
112 stars 24 forks source link

Saving/Updating From Markdown #23

Open escwdev opened 7 years ago

escwdev commented 7 years ago

When I have Markdown mode enabled I cannot save new data when I submit my form. It is only able to convert HTML -> Markdown as an update. Event when updaing, new data cannot be included, only the conversion function is executed.

I was hoping to allow users to either utilize the standard CKEditor or Markdown plugin (saving all form data converted to Markdown in the DB). Is there a way to enable the Markdown plugin to add new data as opposed to simple conversion? Or is this an issue that is the result of improper configuration on my end?

dewetvdm commented 6 years ago

Having the same issue - will need to solve this - will post the solution here if I have one @escwdev

ezawadzki commented 6 years ago

I have got an issue linked to yours. You can save in markdown format in database. But the issue is that you need to be in preview mode at least one time to get the last state of the textarea.