Dreamweaver
Working with page code
/
Collapsing code
Paste and move collapsed code fragments
You can copy and paste collapsed code fragments, or move collapsed code fragments by dragging.
Copy and paste a collapsed code fragment
Select the collapsed code fragment.
Select Edit > Copy.
Place the insertion point where you want to paste the code.
Select Edit > Paste.
Note:
You can paste into other applications, but the collapsed state of the code fragment is not preserved.
Drag a collapsed code fragment
Select the collapsed code fragment.
Drag the selection to the new location.
To drag a copy of the selection, Control-drag (Windows) or Alt‑drag (Macintosh).
Note:
You cannot drag to other documents.
Insert code with the Coding toolbar
Clean up code
This page on the Web