include iframe tag on TinyMCE

31 01 2008
  • Open file “mambots/editors/tinymce.php” on any of the editor
  • Change the below lines from

$invalid_elements = $params->def( 'invalid_elements', 'script,applet,iframe' );
to
$invalid_elements = $params->def( 'invalid_elements', 'script,applet' );

  • Also change the below line from


extended_valid_elements : a[name|href|target|title|onclick], img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name], $elements",

to

extended_valid_elements : "a[name|href|target|title|onclick]," +
"img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]," + "iframe[src|width|height|frameborder|scrolling]," + "$elements",


Actions

Information

One response

9 04 2009
Ordeddews

hm… interesting.

Leave a comment