Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Paste from MS Word document to a Web Form

What is the most common way people preserve basic formatting elements like bold emphasis and italics when copying to a textarea from an MS Word document. I noticed that Gmail does this well and StackOverflow does not. Are there common frameworks that do this?

like image 738
just_wes Avatar asked Feb 23 '10 18:02

just_wes


2 Answers

Probably one of the most common rich text controls used is FCKEditor (now, thank God, named CKEditor). It does a really great job at preserving format when pasting from Word.

like image 187
Todd Main Avatar answered Sep 20 '22 00:09

Todd Main


We use FreeTextBox as a replacement for multiline textarea's in ASP.NET, the rich text entered here retains its formatting when cut and pasted into word.

like image 21
Ta01 Avatar answered Sep 18 '22 00:09

Ta01