Loading ...
Sorry, an error occurred while loading the content.

Re: Embed iframe in Rte

Expand Messages
  • aditigoel2009
    Thanks a million! This was driving me crazy!! Appreciate it! -Aditi ... http://developer.yahoo.com/yui/docs/YAHOO.widget.SimpleEditor.html#property_invalidHTML
    Message 1 of 3 , Feb 6, 2009
    • 0 Attachment
      Thanks a million! This was driving me crazy!!

      Appreciate it!
      -Aditi

      --- In ydn-javascript@yahoogroups.com, Dav Glass <davglass@...> wrote:
      >
      > aditigoel2009 --
      >
      > iframes are in the Editor's "invalidHTML" list and are always
      stripped out:
      >
      http://developer.yahoo.com/yui/docs/YAHOO.widget.SimpleEditor.html#property_invalidHTML
      >
      > You can remove it like this:
      >
      > myEditor = new YAHOO.widget.Editor('editor', {});
      > delete myEditor.invalidHTML.iframe;
      >
      > Does that help?
      > Dav
      >
      >
      > --
      > Dav Glass
      > davglass@...
      > blog.davglass.com
      >
      >
      > + Windows: n. - The most successful computer virus, ever. +
      > + A computer without a Microsoft operating system is like a dog
      > without bricks tied to its head +
      > + A Microsoft Certified Systems Engineer is to computing what a
      > McDonalds Certified Food Specialist is to fine cuisine +
      >
      >
      > On Fri, Feb 6, 2009 at 7:49 AM, aditigoel2009 <aditigoel2009@...>wrote:
      >
      > > Hi,
      > >
      > > I am using yui rich text code editor. If i try to embed an iframe
      > > inside the editor, yui just strips the iframe tag and the iframe
      > > disappears. What am I doing wrong? Any help is appreciated.
      > >
      > > Thanks!
      > > Aditi
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.