skb
skb

Reputation: 31104

How can I capture rich text as input to a web form?

I need to have the user be able to cut-and-paste rich text into a big text box on my web page. How do I do that?

Upvotes: 0

Views: 3458

Answers (2)

ohnoes
ohnoes

Reputation: 5612

I guess you can do it only by using IE/Windows/TinyMCE-like-widget set.

Here's some information about clipboards.

Upvotes: 0

Mark Hurd
Mark Hurd

Reputation: 13076

You can install a JavaScript editor like TinyMCE to allow for rich text. This particular WYSIWYG editor has a "Paste from Word" function that helps reduce all the nasty character encoding problems you typically have when users attempt to publish Word documents on the web.

Upvotes: 2

Related Questions