Disable HTML Cleanup

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

    Posted 12 Apr 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
    Admin
    Niko avatar
    387 posts

    Posted 13 Apr Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top