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

Re: RTE: Ctrl + A selecting iframe body tag

Expand Messages
  • jeremymefford
    I just tested this in the code editor example. Click on the body and hit Ctrl + A to select all text and then you ll see that the font name drop down doesn t
    Message 1 of 3 , May 30, 2008
      I just tested this in the code editor example. Click on the body and
      hit Ctrl + A to select all text and then you'll see that the font name
      drop down doesn't enable because it has that little line that goes
      something like this:

      var elm = this._getSelectedElement();
      //.....//
      !this._isElement(elm, 'body')

      Do you see my conundrum?

      --- In ydn-javascript@yahoogroups.com, Dav Glass <dav.glass@...> wrote:
      >
      > Jeremy --
      >
      > The frame needs to have a full HTML document in order for it to work..
      >
      > Can you post a link to your issue so I can give you a hand with
      debugging your issues?
      >
      > Thanks
      > Dav
      >
      > Dav Glass
      > dav.glass@...
      > 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 +
      >
      >
      > ----- Original Message ----
      > From: jeremymefford <jeremymefford@...>
      > To: ydn-javascript@yahoogroups.com
      > Sent: Friday, May 30, 2008 12:11:14 PM
      > Subject: [ydn-javascript] RTE: Ctrl + A selecting iframe body tag
      >
      > Would it be possible to have the iframe without a body or html tag?
      > Ctrl + A in the editor is causing the body to get highlighted which is
      > not allowing my users to access some features they want to (features i
      > added). I guess I could filter out so if body is selected just select
      > the body.innerHTML, but can the editor exist without the body and html
      > elements?
      >
      > Thanks-
      > Jeremy
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.