This is a migrated thread and some comments may be shown as answers.

Markdown?

6 Answers 45 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Stacey
Top achievements
Rank 1
Stacey asked on 18 Jan 2014, 07:39 PM
Is it possible to use Markdown within the Kendo editor? I have spent a few days trying to find this and cannot. I was under the impression that the parsing engine could be substituted.

6 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 20 Jan 2014, 08:29 AM
Hello Stacey,

The Kendo UI editor supports only HTML editing. Markdown support isn't available.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ryan
Top achievements
Rank 1
answered on 03 Mar 2014, 04:26 PM
Does this response mean that the parsing engine cannot be substituted?
0
Atanas Korchev
Telerik team
answered on 03 Mar 2014, 04:31 PM
Hello Ryan,

We are not sure what you mean by parsing engine. The Kendo UI editor uses the contentEditable feature which relies on the browser built-in HTML editing features.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ryan
Top achievements
Rank 1
answered on 03 Mar 2014, 04:37 PM
I see. The OP asked about a substitutable parsing engine, so I was just following up. I imagine a Markdown parser could be injected in one of the Editor events to convert the Markdown to HTML after the focus is lost. Thanks for the reply.
0
Atanas Korchev
Telerik team
answered on 04 Mar 2014, 08:47 AM
Hello Ryan,

In theory one could hoop up to the select event of the editor and use a third party library which can convert HTML to markdown.

Here is a quick demo which shows the same: http://jsbin.com/duyelupe/1/edit
Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Stacey
Top achievements
Rank 1
answered on 13 Mar 2014, 12:42 PM
Thank you for the example, it is actually very useful.

As a note, I think you guys would benefit greatly from just baking Markdown support into the editor. I have done it in an internal test and it is gorgeous; A lot of people use markdown these days, and are trying to detach themselves from WYSIWYG. Kendo's editor is the best I've ever seen, and if it supported Markdown innately, I'm just not sure I could handle that much awesome.

There is a suggestion thread about this on the feedback portal, but it is suddenly flagged as "Under Review ...", so I am not really sure what that means.
Tags
Editor
Asked by
Stacey
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Ryan
Top achievements
Rank 1
Stacey
Top achievements
Rank 1
Share this question
or