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

Rad Editor adding custom HTML tags

2 Answers 137 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kusuma
Top achievements
Rank 1
Kusuma asked on 04 Apr 2016, 12:14 PM

I need to add a

<p class="classname">

     <em_start class="openImg"></em_start>

Some randome Input text by the user <em_end class="closeImg"></em_end> </p>

2 Answers, 1 is accepted

Sort by
0
Kusuma
Top achievements
Rank 1
answered on 04 Apr 2016, 12:22 PM

I need to add custom tags em_start and em_end to the HTML and the RadEditor should be able to recognize those tags from the client side and I need to select the next element(i.e <span>Some randome Input text by the user</span>) of the html element which has id "customTagStart" (i.e <em_start class="openImg" id="customTagStart"></em_start>)

<p class="classname">
     <em_start class="openImg" id="customTagStart"></em_start>
           <span>Some randome Input text by the user</span>

      <em_end class="closeImg" id="customTagStart"></em_end>

</p>

Please suggest me how to add custom html tags and how to get the next element of the selected element. Thanks in advance..

0
Dimitrina
Telerik team
answered on 06 Apr 2016, 04:38 PM
Hi,

It seems your question is not related to the Telerik Platform but to another product. Therefore, I would suggest you to post it under the respective forum category. In case the inquiry is related to RadEditor for asp.net ajax, you can check the UI for ASP.NET AJAX forum section.

Regards,
Dimitrina
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
Tags
General Discussions
Asked by
Kusuma
Top achievements
Rank 1
Answers by
Kusuma
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or