Script tag in between the p tag text

2 posts, 0 answers
  1. Neha
    Neha  avatar
    18 posts
    Member since:
    Feb 2014

    Posted 09 Oct 2014 Link to this post

    Hello All,

    I have using the Telerik Rad Editor in my CMS so when I add the script tag in middle of the text then it will remove the all the text after the script tag .

    For Example :

    this is my text in the editor
    <p> Hello Telerik Editor Admin</p>
    and now when i added the script tag in middle of the text like <p> Hello <script type="text/javascript" src="demo"></script> Telerik Editor Admin</p> tyhen the result will be converted into " <p> Hello <script type="text/javascript" src="demo"></script> "
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 09 Oct 2014 Link to this post

    Hi Neha,

    Content filtering in the editor's content is achievable by implementing Custom Content Filters.

    Stripping of any content should be implemented in the exposed methods of the filters using JavaScript Regular expressions.

    Regards,
    Ianko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top