Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Format HTML text in <textarea>


Message #1 by "T Berry" <tberry@v...> on Fri, 11 Oct 2002 16:13:14
Well, yeah, there is. Microsoft provides the DHTML component.

Check it out at: (watch for wrapping):

http://msdn.microsoft.com/downloads/samples/internet/default.asp?url=/Downloads/samples/Internet/browser/editcntrl/Default.asp

It forces you to add you (Intranet) site to the Trusted Zones in IE, but 
since you are targeting IE6+, it looks like you're in an Intranet environment.

I found the code that comes with the editor a bit messy and hard to 
understand at first. We've been experimenting with it for quite some time, 
so if you have any specific questions about it, let me know.


Cheers,

Imar

P.S. To download the example, you'll have to click through a couple of OK 
buttons. After that, open the fulledit.htm page and see what the editor can do.



At 04:13 PM 10/11/2002 +0000, you wrote:
>I've been requested to enable creating bold and italic text in <textarea>
>controls on a web page. Is this possible? I would only be supporting IE6+.
>
>Thanks
>Tom



  Return to Index