Anyone wishing to use the hak_tinymce plugin with Textpattern will no doubt find it very useful.
It's a lot easier than the Textile interface.
However I ran into a problem when I wanted to add Amazon Associates <iframe> markup.
It gets ignored and deleted by hak_tinymce.
The answer is to extend the valid code.
In tinymce.js find .... this._def("extended_valid_elements","");
then change this to this._def("extended_valid_elements","iframe[align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|Src|width]");
Upload the file and <iframe> works with hak_tinymce.
Thanks to Patrick Woods the plugin author for his support.
Please Comment - No Spam :-)
Leave a Reply
-
