• Home
  • The Apartment
  • Places To Visit
  • Blog
  • About

www.property-in-the-sun.com

Self Catering Apartment Benarrabá (Sleeps up to 4)

Feeds
RSS
Atom

hak_tinymce plugin - Textpattern - Amazon iframe

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

-

  • Latest Blog

    more ...

    These are photographs taken the previous weekend (June 6th) . It was a lovely day, perfect weather.

    The mountains in the distance are the Sierra Bermeja, the masts are on Los Reales the highest peak of the range.

    more ...

  • Featured Links

    • Gibraltar Website
      World News, Gibraltar News, Celebrity News, Forums, Galleries and Arcade Games +++
Visitors: Last 10 minutes : [59]              Last 24 hours : [443]               Average daily visitors during last week : [386]