On the RAD Editor , when user Copy the HTML from outside, and paste in to RAD Editor, and then verify the HTML code the additional <tbody> tag is added automatically in to HTML BODY.
Can please let me know how to resolve this? so that <tbody> text not added automatically..
Regards
Samir
3 Answers, 1 is accepted
0
Ianko
Telerik team
answered on 28 Jun 2013, 05:23 PM
Hello Samir,
I tried to reproduce the issue locally with our online RadEditor examples and I did not find any problematic insertions with the pasted HTML. You could check if there is a customization of the editor control that results in the examined behavior. If there is not, you could get back to me with more detailed information about the problematic scenario.
You could also try reproducing the scenario with our online examples and send steps-by-step instructions so that I can inspect it locally in case the problem occurs.
Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
2)Now click on design mode next again click on html mode.
Checkout the pasted html modified by exta head and tbody tags.
Check attachment : 2.PNG
0
Ianko
Telerik team
answered on 03 Jul 2013, 12:25 PM
Hi Samir,
The browser adds these elements in attempt to create a valid page and we cannot influence this behavior. In order to avoid it you could create a custom content filter for pasting the HTML code with the desired behavior.
You could check this help articles about the customization:
- Content filters - documentation article;
- Custom content filters - demo.
Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.