ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.54k stars 3.7k forks source link

Allow conversion between html and markdown on demand #10049

Closed shahzaib414 closed 1 year ago

shahzaib414 commented 3 years ago

📝 Provide a description of the new feature

Currently if we add markdown plugin, it auto convert html to markdown. Is there any way that we should convert data from html to markdown and markdown to html, as per need ? instead of auto conversion

What is the expected behavior of the proposed feature? Should be able to call html2markdown and markdown2html` using Editor instance

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Mgsy commented 3 years ago

Hi! As html2markdown and markdown2html are utils available in the Markdown-GFM package, you can simply import them and use them on-demand in your project.

CKEditorBot commented 1 year ago

There has been no activity on this issue for the past two years. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot commented 1 year ago

We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).