Cutting, Copying, and Pasting Text


Just like a word processor, you can cut, copy, and paste text on a page in Dreamweaver, which shares the same menu commands with virtually all standard Windows and Mac word processors and text editors. When pasting text in Design view from one part of a Dreamweaver page to another, or between Dreamweaver pages, text formatting is automatically maintained .

Dreamweaver also allows you to paste text and maintain some or all of the text's formatting. This is especially useful when moving text from applications such as Microsoft Word or Excel to a Web page. See "Using Paste Special," later in this chapter.

To cut or copy text:

1.
Select the text you want to cut or copy.

2.
To cut the text to the Clipboard, choose Edit > Cut, or press Ctrl-X (Cmd-X) on the keyboard.

or

To copy the text to the Clipboard, choose Edit > Copy, or press Ctrl-C (Cmd-C) on the keyboard.

The text is placed on the Clipboard.

Tip

  • When you have text selected, most of the time you can right-click to cut or copy the text using a shortcut menu. You can also right-click to paste text from the shortcut menu. If you have a single button mouse on the Mac, you can Ctrl-click to bring up the shortcut menu.


To paste plain text:

1.
Click to place the insertion point on the page where you want the text to appear.

2.
Choose Edit > Paste, or press Ctrl-V (Cmd-V) on the keyboard.

Tips

  • If you copy some HTML source code from another program, such as the Source view of a Web browser, and paste it into a Dreamweaver page in Design view, the HTML appears on the page, with tags and all. That's because while what you've pasted in is HTML markup, Dreamweaver is trying to be smarter than youit's assuming that markup is what you want to display. If that's not what you want, but rather you want the result of the markup to display in your page, just switch to the Code view in Dreamweaver before you paste. The HTML code will paste into the page, and when you switch back to the Design view, it will display the proper formatting.

  • Dreamweaver offers Undo and Redo commands in the Edit menu, which can often be very useful for fixing mistakes or repeating operations. You can also use the keyboard shortcuts Ctrl-Z (Cmd-Z) for Undo and Ctrl-Y (Cmd-Y) for Redo.





Macromedia Dreamweaver 8 for Windows & Macintosh Visual QuickStart Guide
Macromedia Dreamweaver 8 for Windows & Macintosh
ISBN: 0321350278
EAN: 2147483647
Year: 2005
Pages: 239

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net