More in this section
Forums / General Discussions / prevent code rewriting in wysiwyg

prevent code rewriting in wysiwyg

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Ed
    Ed avatar
    0 posts
    02 Mar 2016
    08 Mar 2017
    Link to this post

    i have some google custom search code that i would like to include on my page. is it possible to wrap code or something in the html wysiwyg so that the editor doesn't strip invalid tags? something like:


    my custom code here


  2. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    01 Jul 2014
    09 Mar 2017 in reply to Ed
    Link to this post

    You can do this in two ways:

    1) Latest SF has "Embed Code" MVC widget (in Script ans Styles group). And you can place any html inside

    2) You can disable stripping tags for content block. You can read my response at SO:

2 posts, 0 answered