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

Re: Set focus after toggle from and to Rich Text Editor

Expand Messages
  • mettatest
    Wow!!!! Less than 20 minutes for a reply. The support for this project is amazing!! ... Text Editor
    Message 1 of 3 , Jul 30, 2008
    • 0 Attachment
      Wow!!!! Less than 20 minutes for a reply. The support for this
      project is amazing!!

      --- In ydn-javascript@yahoogroups.com, Dav Glass <dav.glass@...> wrote:
      >
      > mettatest --
      >
      > Try this:
      >
      > myEditor._focusWindow();
      >
      > 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: mettatest <mettatest@...>
      > To: ydn-javascript@yahoogroups.com
      > Sent: Wednesday, July 30, 2008 6:49:45 PM
      > Subject: [ydn-javascript] Set focus after toggle from and to Rich
      Text Editor
      >
      > Hi, I implemented the Plain Text Switcher
      > http://developer.yahoo.com/yui/examples/editor/switch_editor.html
      >
      > and it works great except that I lose my focus when I click the toggle
      > button, even though I set the { focusAtStart: true } as one of the
      > YAHOO.widget.Editor options, and { focusAtStart: true } works before
      > the toggle is clicked only.
      >
      > Is there a way to set the focus of the editor via javascript?
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
      > http://docs.yahoo.com/info/terms/
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.