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

Re: Rich Text Editor Name After Render

Expand Messages
  • Sayak Bose
    Thanks Dav. I shall try that. regards, Sayak
    Message 1 of 5 , Nov 30, 2007
    • 0 Attachment
      Thanks Dav. I shall try that.

      regards,
      Sayak
      --- In ydn-javascript@yahoogroups.com, dav.glass@... wrote:
      >
      > Sayak --
      >
      > You can strip the HTML like this:
      > myEditor.saveHTML();
      > var stripHTML = /<\S[^><]*>/g;
      > var html = myEditor.get('textarea');
      > var text = hmtl.replace(stripHTML, '');
      > Now text will be plain text..
      >
      >
      > I have nothing to suggest on the spell checker part.. :)
      >
      > 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: Sayak Bose <sayak_engg@...>
      > To: ydn-javascript@yahoogroups.com
      > Sent: Friday, November 30, 2007 7:21:50 AM
      > Subject: [ydn-javascript] Re: Rich Text Editor Name After Render
      >
      >
      > Hi,
      >
      > I have a problem while adding a spellchecker to yahoo RTE. While I
      > am calling saveHTML() method it renders the text into the text area
      > with all the formating which would not help my cause. Can you suggest
      > something on how to get the unformatted text only for spell checking?
      >
      > Alos could you suggest a good spell checker which can easily be
      > integrated with Yahoo RTE?
      >
      > Many Thanks,
      > Sayak
      >
      > --- In ydn-javascript@yahoogroups.com, "rballou05" <rob.ballou@>
      > wrote:
      > >
      > > --- In ydn-javascript@yahoogroups.com, "jackson0810"
      > > <Derrick_Jackson@> wrote:
      > > >
      > > > Hi,
      > > >
      > > > I am trying to attach a spell checker to the rich text editor.
      > > > However using the ID in the <textarea> tag only checks the data
      > that
      > > > was in the textarea when the page was loaded. How do I get to the
      > > > name of the area that is created when the rich text area is
      > rendered?
      > > >
      > >
      > > You have to call saveHTML() to get the HTML to be in the textarea, so
      > > you can do:
      > >
      > > myEditor.saveHTML()
      > > content = myEditor.get('textarea').value
      > >
      > > Hope that helps,
      > >
      > > Rob
      > >
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.