We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

markdown subline and add var in html template

Thread ID:

Created:

Updated:

Platform:

Replies:

150477 Jan 8,2020 01:25 PM UTC Jan 10,2020 09:04 AM UTC Angular - EJ 2 3
loading
Tags: RichTextEditor
JamesAdams
Asked On January 8, 2020 01:25 PM UTC

Hi !
i use the markdown editor and i would like to know if we can have underlined text with the markdown editor?
I also have a problem because I would like to add content by default in the editor except that I did not find the option for its in the API
thanks for your help ;)

Indrajith Srinivasan [Syncfusion]
Replied On January 9, 2020 01:51 PM UTC

Hi JamesAdams, 
 
Greetings from Syncfusion support 
 
Query 1: “underline text with markdown editor” 
 
No, underline doesn’t have any syntax for markdown editor instead, we can underline the text in markdown editor using the <u>Some text</u> tag in the markedJS, so as a workaround solution we have implemented the underline in markdown editor by a custom toolbar button click and once the preview icon is clicked you can see the formatted text, we have also prepared a sample for your requirement.

Underline in markdown: https://stackoverflow.com/questions/3003476/get-underlined-text-with-markdown
 
 
Only the following commands are supported for RichTextEditor Markdown. 
 
 
Query 2: “content by default in the editor except that I did not find the option for its in the API” 
 
Yes, you can add content to the editor using the value property in RichTextEditor also have prepared a sample for your requirement. 
 
 
 
Regards, 
Indrajith 


JamesAdams
Replied On January 10, 2020 08:55 AM UTC

Hi,

thanks !

Sureshkumar P [Syncfusion]
Replied On January 10, 2020 09:04 AM UTC

Hi JamesAdams, 
 
 
Regards, 
Sureshkumar P 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon