Can't post forms' code on webpages - blank

Posted by Community Admin on 04-Aug-2018 20:29

Can't post forms' code on webpages - blank

All Replies

Posted by Community Admin on 24-Jun-2016 00:00

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?

Posted by Community Admin on 28-Jun-2016 00:00

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:
http://demos.telerik.com/aspnet-ajax/editor/examples/contentfilters/defaultcs.aspx
http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/managing-content/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
 

This thread is closed