The paste text dialog box

The Paste Text dialog box  in SharePoint Designer contains a few formatting options that allow you to paste text from other sources into your page.

In this article we’ll explain what each option does.

  • Plain text ~ Pastes all text but replaces line breaks with spaces.
  • One <pre> formatted paragraph ~ Pastes all text within a single preformatted text <pre> tag
  • Many <pre> formatted paragraphs ~ Pastes each paragraph into seperate <pre> tags.
  • Normal paragraphs with line breaks ~ Pastes all text within a single paragraph tag.
  • Normal paragraphs without line breaks ~ Pastes each paragraph into a seperate paragraph tag.

Paste or Paste Text

  • The paste option copies text along with the markup and styles (BAD!).
  • The Paste Text option launches the Paste Text dialog box, which pastes it without any markup an styles (GOOD!).

Always try to use the Paste Text to prevent getting garbage markup styles polute your webpages which can be a tedious job to clean up.

You can find the Paste Text option in SharePoint Design by clicking Edit → Paste Text.

author: Ewout Kozel

My bio

One Response to “ The paste text dialog box ”

Leave a Reply :

You must be logged in to post a comment.