Disable HTML Cleanup

2 posts, 0 answers
  1. Casablanca Hotelsoftware
    Casablanca Hotelsoftware avatar
    6 posts
    Member since:
    Jan 2014

    Posted 12 Apr 2016 Link to this post

    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.

  2. Niko
    Niko avatar
    404 posts

    Posted 13 Apr 2016 Link to this post


    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

    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
Back to Top