Skip to main content

Getting Started with LibGuides: Cleaning Text Copied From Word

Why "clean" text?

While it contains familiar symbols and tools as a word processing softwares, the text editor in LibGuides is not compatible with them. We clean the text pasted from other formats, particularly MS Word, to prevent extraneous formatting embedded in the code behind the text that you see displayed on screen.

You can use the steps for "Paste as Plain Text" for any source: MS Word, a web page, or a PDF. It will retain line breaks, but will strip the formatting of the text: including bold, italic, color and font style.

The "Paste from Word" tool can be used with text from MS Word. It will work to retain breaks and some of the formatting that you initially intended.  

Paste as Plain Text and Paste from Word buttons

Paste as Plain Text

1.) Click the "Add New Box" tool.

2.) Select "Rich Text/Dynamic Content Scipts," or one of the list-type boxes, depending on your preference.

3.) Name and save the box.

4.) Leave this Internet window open while you locate the text you want to paste from another source (i.e. MS Word doc, PDF, Website).

5.) Copy the desired text.

6.) Return to your LibGuide and click "edit text".

7.) Click the "Paste as Plain Text" button.

8.) Paste your copied text into the text area and click "Insert". Note: Linebreaks are kept as a default. To remove them uncheck the "Keep Linebreaks" checkbox.

9.) If necessary, further format your text with bolds, italic, and color using the buttons located on the LibGuides Toolbar.

10.) Click "Save Changes." Always remember to save changes frequently when working in LibGuides.  

Paste from Word

1.) Click the "Add New Box" tool.

2.) Select "Rich Text/Dynamic Content Scipts," or one of the list-type boxes, depending on your preference.

3.) Name and save the box.

4.) Leave this Internet window open while you locate the text you want to paste from your MS Word document.

5.) Copy the desired text.

6.) Return to your LibGuide and click "edit text".

7.) Click the "Paste from Word" button.

8.) Paste your copied text into the text area and click "Insert".

9.) If necessary, further format your text with bolds, italic, and color using the buttons located on the LibGuides Toolbar.

10.) Click "Save Changes." Always remember to save changes frequently when working in LibGuides.