prevent code rewriting in wysiwyg - General Discussions - General Discussions - Progress Community
 General Discussions

prevent code rewriting in wysiwyg

  • prevent code rewriting in wysiwyg
  • 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:

    [retainFormat]

    my custom code here

    [/retainFormat]

  • 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: stackoverflow.com/.../40377991