Recognizing template-based documents in code view – Adobe Dreamweaver CC 2014 v.13 User Manual
Page 537
Note: When you edit template code in Code view, be careful not to change any of the template-related comment tags that Dreamweaver relies
on.
Recognizing template-based documents in Design view
In a document based on a template (a template-based document), editable regions appear in the Design view of the Document window
surrounded by rectangular outlines in a preset highlight color. A small tab appears at the upper-left corner of each region, showing the name of the
region.
In addition to the editable-region outlines, the entire page is surrounded by a different-colored outline, with a tab in the upper-right corner giving
the name of the template that the document is based on. This highlighted rectangle reminds you that the document is based on a template and
that you can’t change content outside the editable regions.
Recognizing template-based documents in Code view
In Code view, editable regions of a document derived from a template appear in a different color than code in the non-editable regions. You can
make changes only to code in the editableregions or editable parameters but you cannot type in locked regions.
Editable content is marked in HTML with the following Dreamweaver comments:
Everything between these comments is editable in a template-based document. The HTML source code for an editable region might look like this:
Name | Address | Telephone Number |
Enter name | Enter Address | Enter Telephone |
The default color for non-editable text is gray; you can select a different color for the editable and non-editable regions in the Preferences dialog
box.
More Help topics
530