Copying and Pasting Content from Microsoft Word
Pasted Word documents embed a lot of style, css and xml code in the page which may make the page display improperly and can make it difficult to edit the content once pasted.
Additionally you will find that our editor tools can not over-ride some of the code that Word inserts, so after it's pasted, you may not be able to style it, change font sizes, colors, styles etc. In fact, attempting to do so often adds even more code to the page, compounding the problem.We recommend that if you've created something in Word that you want to copy and paste in the page, you first save it as a plain text document, or copy and paste the content into a plain text editor like Note Pad or Text Edit and then copy it from there and paste it into the page.
Of course, the best process, is to type it directly into the page using our editor, and then style it using our tools.Below is and example of code taken from a page on a school website. The text pasted in the page came from Miscrosoft Word or a similar program.
The page contains a single photograph of a teacher with her name.
What you don't see
(the code behind the page)
*The only text that is actually displayed on the page is the teachers
name (below in red). The page also contains a single image of the
teacher (below in green). The remainder (below in blue) is all superfluous code
inserted by the originating source (i.e., Microsoft Word) that does
nothing whatsoever.<p style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: 'Arial Narrow', 'sans-serif'; COLOR: #669966; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><span style="mso-spacerun: yes"><span style="FONT-FAMILY: TimesNewRoman; FONT-SIZE: 9pt; mso-ansi-language: en-US; mso-ascii-font-family: TimesNewRoman; language: en-US; mso-default-font-family: TimesNewRoman; mso-latin-font-family: TimesNewRoman; mso-greek-font-family: TimesNewRoman; mso-cyrillic-font-family: TimesNewRoman; mso-hebrew-font-family: TimesNewRoman; mso-arabic-font-family: TimesNewRoman; mso-devanagari-font-family: TimesNewRoman; mso-tamil-font-family: TimesNewRoman; mso-thai-font-family: TimesNewRoman; mso-latinext-font-family: TimesNewRoman; mso-armenian-font-family: TimesNewRoman; mso-bengali-font-family: TimesNewRoman; mso-gurmukhi-font-family: TimesNewRoman; mso-oriya-font-family: TimesNewRoman; mso-telugu-font-family: TimesNewRoman; mso-kannada-font-family: TimesNewRoman; mso-malayalam-font-family: TimesNewRoman; mso-lao-font-family: TimesNewRoman; mso-tibetan-font-family: TimesNewRoman; mso-georgian-font-family: TimesNewRoman; mso-hangul-font-family: TimesNewRoman; mso-kana-font-family: TimesNewRoman; mso-bopomofo-font-family: TimesNewRoman; mso-han-font-family: TimesNewRoman; mso-halfwidthkana-font-family: TimesNewRoman; mso-yi-font-family: TimesNewRoman; mso-hansurrogate-font-family: TimesNewRoman; mso-nonhansurrogate-font-family: TimesNewRoman; mso-eudc-font-family: TimesNewRoman; mso-syriac-font-family: TimesNewRoman; mso-thaana-font-family: TimesNewRoman; mso-myanmar-font-family: TimesNewRoman; mso-sinhala-font-family: TimesNewRoman; mso-ethiopic-font-family: TimesNewRoman; mso-cherokee-font-family: TimesNewRoman; mso-canadianabor-font-family: TimesNewRoman; mso-ogham-font-family: TimesNewRoman; mso-runic-font-family: TimesNewRoman; mso-khmer-font-family: TimesNewRoman; mso-mongolian-font-family: TimesNewRoman; mso-braille-font-family: TimesNewRoman; mso-currency-font-family: TimesNewRoman; mso-asciisym-font-family: TimesNewRoman" lang="en-US"><em><font color="#3333cc">Ms Jennifer Smith <img style="WIDTH: 115px; HEIGHT: 149px" alt="IMGP3682.JPG" src="/home/WI12716389999/images/Fall_2011/IMGP3682.JPG" align="right" border="0" height="149" hspace="0" width="115"><!--?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /--><o:p></o:p></font></em></span>
What you should see
Below is the code as it should appear in the page if only the editor, or plain text was pasted into the page.
Note: *The following code displays the same image and teacher name as the pasted code above, so it's easy to see how all of that extra code can effect your page and make editing difficult if not impossible.
<font color="#3333cc"><img alt="IMGP3682_1.JPG" src="/home/WI12716389999/images/Fall_2011/IMGP3682_1.JPG" align="right" border="0" height="212" hspace="10" vspace="0" width="160"></font><strong>Ms Jennifer Smith</strong>