include iframe tag on TinyMCE

  • 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",
Advertisements
include iframe tag on TinyMCE

13 thoughts on “include iframe tag on TinyMCE

  1. Knierim says:

    Involved time to read all the commentary, but I actually genuinely savored the write-up. That proved to end up being Incredibly necessary to me along with I’m certain to all the commenters right here It’s usually great when you’re able to not only learn, but also kept amused I’m certain you possessed fun writing this write-up.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s