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

Disable HTML Cleanup

1 Answer 76 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Casablanca
Top achievements
Rank 1
Casablanca asked on 12 Apr 2016, 06:11 AM

Does the editor provide any option to disable the HTML cleanup on paste or on "insertHtml"-command.
I want to allow our customers to create "incomplete" html snippets with the editor. For example our customers paste a html code like:

<tr><td>some text</td></tr>

Now the editor will removes the incorrect html and the result will be "some text" and the html markup gets lost.

1 Answer, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 13 Apr 2016, 09:15 AM

Hello,

Unfortunately it is not possible to enter partial HTML in the Editor widget due to limitations in the way browsers handle DOM.

Please, check the following dojo sample, where the limitation is demonstrated - http://dojo.telerik.com/@nlazarov/ofozI

Regards,
Niko
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
Editor
Asked by
Casablanca
Top achievements
Rank 1
Answers by
Niko
Telerik team
Share this question
or