Take a look at http://tinymce.moxiecode.com/ It might be what you're looking for.
On 3/12/06, Izak Wessels <[EMAIL PROTECTED]> wrote: > > Hi, > > The app that I am currently working on has the need for some basic > html e-mailing capabilities. The user can enter the body of the htm > e-mail in a textarea component, after which I would like them to be > able to click a "Preview" button, that renders the contents of the > textarea. In order to accomplish the necessary html formatting, the > user can specify html tags in the textarea along with the actual > content of the e-mail. All of which should be rendered when the user > clicks on the "Preview" button. > > Anybody have any suggestions as to how I can render the html tags + > text in the textarea and display it in say a pop-up window or another > page? > > A possible solution I was thinking of is, when the user clicks on say > the preview button, I redirect them to another page, passing in the > content of the textarea, to the preview page. Have a Insert component > that then just outputs the contents of the textarea passed in from the > previous page. However, I am unsure as to whether a Insert component > will actually render html tags. > > Thanks in advance, > > -- Izak > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >