Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import from Markdown / Export as Markdown / Paste Markdown #14003

Open
wwalc opened this issue Apr 28, 2023 · 2 comments
Open

Import from Markdown / Export as Markdown / Paste Markdown #14003

wwalc opened this issue Apr 28, 2023 · 2 comments
Labels
type:feature This issue reports a feature request (an idea for a new functionality or a missing option).

Comments

@wwalc
Copy link
Member

wwalc commented Apr 28, 2023

Creating this ticket to measure demand for extending the Markdown capabilities of CKEditor 5.

CKEditor 5 currently allows for switching the default output from HTML to Markdown https://ckeditor.com/docs/ckeditor5/latest/features/markdown.html
This results in CKEditor 5 being basically a full Markdown editor, which may not always be a desired behavior.

This ticket instead is about keeping the ability to use CKEditor 5 as an HTML editor (so it loads HTML and outputs HTML), but also being able to Import/Export as Markdown using e.g. a dedicated button, just like we deliver Import from Word and Export to PDF/Word.

Additionally, with this theoretical feature, CKEditor 5 could also support Pasting Markdown directly in the editor, where the editor would try to autodetect that Markdown has been pasted so that it automatically converted it to HTML.

Example use case 1: an application where HTML is used to store data (e.g. a typical CMS). End users (content creators) with a need to port their notes/content from other applications, where Markdown was used to create the content. They would be allowed to Import/Paste existing Markdown content easily.

Example use case 2: an application where HTML is used to store data (e.g. a typical CMS). End users with a need to download the content as markdown to enter it into a different system that accepts only Markdown. Thye would have e.g. "Download as Markdown" toolbar button.


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

@wwalc wwalc added the type:feature This issue reports a feature request (an idea for a new functionality or a missing option). label Apr 28, 2023
@Witoso
Copy link
Member

Witoso commented May 4, 2023

Rel: #2321
+50 👍

@Witoso
Copy link
Member

Witoso commented Dec 12, 2023

We released an experimental version of Paste Markdown, test it and let us know your thoughts 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature This issue reports a feature request (an idea for a new functionality or a missing option).
Projects
None yet
Development

No branches or pull requests

2 participants