+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Can't post forms' code on webpages - blank

Can't post forms' code on webpages - blank

2 posts, 0 answered
  1. Emily
    Emily avatar
    2 posts
    Registered:
    10 Jun 2015
    24 Jun
    Link to this post
    I used to be able to copy and paste the embed code that is auto-generated from our form site onto webpages - however, now when I do this, the block is blank. If I try to get into the code of live forms, it causes them to go blank, as well. Why is this happening, and how do I get my forms to show up?
  2. Dimitri Cools
    Dimitri Cools avatar
    80 posts
    Registered:
    05 Dec 2016
    28 Jun
    Link to this post
    Hi,

    The HtmlEditor (Rad Editor) has a series of filters in place by default. (DefaultFilters)

    It's possible that the ConvertToXhtml filter could be causing this.

    In order to for example only disable this filter and leave the rest in place you can navigate to
    Administration -> Settings -> Advanced -> Appearance
    and find the following fields:

    Rad Editor's content filters
    RadEditor filters for Content block widget

    Then please enter the desired filters in the above fields:

    eg. all from "DefaultFilters" besides ConvertToXhtml : 
    RemoveScripts, EncodeScripts, StripCssExpressions, StripDomEventAttributes, FixUlBoldItalic, IECleanAnchors, FixEnclosingP, ConvertTags, ConvertFontToSpan, OptimizeSpans, IndentHTMLContent, ConvertCharactersToEntities, PdfExportFilter, ConvertInlineStylesToAttributes


    Please also observe the following KB-article;
    How to stop HtmlEditor's filters
    http://www.sitefinity.com/developer-network/knowledge-base/details/how-to-stop-htmleditor's-filters

     

    Also as a reference, you can re-write your own filter should you desire,
    more on the Custom Content Filters:

    Regards,
    Dimitri Cools
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered