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

How can I add custom markdown rules #11326

Closed benfiratkaya closed 10 months ago

benfiratkaya commented 2 years ago

I want to add custom markdown rules for ckeditor5. For example when I click MarkdownUnderline button in toolbar I set test in text editor but I want to get ^^test^^ markdown data.

BenjaminAbt commented 1 year ago

@benfiratkaya you found a solution for that?

Looks unfortunately like the Markdown plugin was implemented very rudimentary and unfortunately no customizing is possible.

https://github.com/ckeditor/ckeditor5/blob/a4f1ad51e42bceb94840b1774182b5cc3783b2ee/packages/ckeditor5-markdown-gfm/src/html2markdown/html2markdown.js#L61

CKEditorBot commented 11 months ago

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

CKEditorBot commented 10 months 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).