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?
From stackoverflow
-
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.
ohnoes : Please note that you can't do RTF paste to TinyMCE, at least on Mac (the browser is not the case) -
I guess you can do it only by using IE/Windows/TinyMCE-like-widget set.
Here's some information about clipboards.
0 comments:
Post a Comment