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

RadEditor content in HTML mode issue

2 Answers 14 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Lee K
Top achievements
Rank 1
Lee K asked on 16 Sep 2015, 08:31 AM

Hi RadEditor team!.

I have a problem related to the RadEditor control. I want to use my definition tag in the RadEditor's content.

    Ex: <#xyz> Here is my tag </#xyz>
I paste it into the HTML mode, then click Design mode after that click HTML mode again, the closing tag (</#xyz>) is disappearing

My question is: how can I keep the input value of my definition tag?.

I'm using Telerik.Web.UI with version: 2012.3.1016.35 for SharePoint 2013.

Thanks a lot.

Lee K

2 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 18 Sep 2015, 08:14 AM
Hello Lee,

Using # char in the tag name is not valid neither to XML nor to HTML, or HTML conventions. Therefore, there is no proper approach to support such a tag in a browser.

You can test inserting the same tag in a plain HTML page and you will encounter the same result. The browser removes the closing tag and escapes the opening one. 

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Lee K
Top achievements
Rank 1
answered on 21 Sep 2015, 01:13 AM

Hi Lanko,

 

Thank you so much for your reply!.

 

Thanks,

Lee K

Tags
Editor
Asked by
Lee K
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Lee K
Top achievements
Rank 1
Share this question
or