[wp-hackers] iframe question
Andrew Ozz
admin at laptoptips.ca
Thu Jan 29 08:17:07 GMT 2009
Scot Hacker wrote:
> ... For now I'm editing a
> lot of tiny_mce_config.php files, but don't like hacking core all over
> the place. Can't this option just be made into a setting on the Writing
> or Misc settings pages?
It's very easy to add this as an one-line plugin:
add_filter('tiny_mce_before_init', create_function( '$a',
'$a["extended_valid_elements"] = "iframe[*]"; return $a;') );
Was thinking to make a small plugin that adds a GUI to this, but it's
only for (very) advanced users, so perhaps is best done in code only.
More information about the wp-hackers
mailing list