More in this section

Forums / General Discussions / prevent code rewriting in wysiwyg

prevent code rewriting in wysiwyg

2 posts, 0 answered
  1. Ed
    Ed avatar
    0 posts
    02 Mar 2016
    08 Mar
    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 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