beautypg.com

Adobe Dreamweaver CC 2014 v.13 User Manual

Page 703

background image

span, strike, strong, sub, sup, table, tbody, tr, tt, u, ul, and var.

Note: This second option is only available when the parent node meets the exact criteria for transformation. For example, it must be
one of the listed transformable tags, and it must not be subject to any of the errors listed in InContext Editing Error messages.

If you selected a Dreamweaver template repeating region, click OK in the Create Repeating Region dialog box. Dreamweaver wraps the
template repeating region with a div tag that acts as a container for the new InContext Editing repeating region.

If you selected other content that you want to make repeatable, do one of the following:

Select Wrap Current Selection With a DIV Tag and Then Transform It if you want to wrap whatever you selected with a div tag and
turn it into a repeating region. The div tag with which Dreamweaver wraps the content acts as the container for the repeating region.

Select Transform the Parent Tag Into a Repeating Region if you want Dreamweaver to make the parent tag of the selection the
container element for the repeating region. Only certain HTML tags are transformable: a, abbr, acronym, address, b, big, blockquote,
center, cite, code, dd, dfn, dir, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, label, li, menu, ol, p, pre, q, s, samp,
small, span, strike, strong, sub, sup, table, tbody, tr, tt, u, ul, and var.

4. In Design view, click the blue tab of the repeating region to select it if it’s not already selected. Notice that Dreamweaver actually forces you

to select the tab for the repeating regions group. This is because all repeating regions exist within a repeating regions group, and you must
set options for repeating regions by setting options for the entire group.

5. Select or deselect options in the Repeating Regions Group Property inspector. Two options are available: Reorder and Add/Remove. When

you select Reorder, users will be able to move repeating regions up or down when editing in a browser. When you select Add/Remove,
users will be able to add or remove repeating regions when editing in a browser. Both options are selected by default, and you must always
have at least one of them selected.

6. Save the page.

If this is the first time you’re adding InContext Editing functionality to a page, Dreamweaver informs you that it is adding InContext Editing
supporting files to your site: ice.conf.js, ice.js, and ide.html. Be sure to upload these files to the server when you upload your page,
otherwise InContext Editing functionality will not work in a browser.

Delete a region

It’s best to delete a region by using the region’s Property inspector. Using the region’s Property inspector ensures that you delete all of the code
associated with the region.

1. Select an editable region, a repeating region, or a repeating regions group.

2. In the region’s Property inspector, click the Remove Region button.

Specify CSS classes for formatting

The InContext Editing Manage Available CSS Classes feature has been deprecated as of Dreamweaver CS5.

InContext Editing Error messages

Cannot apply InContext Editing to tags containing script tags or server-side block(s) of code

If your selection contains server-side code, Dreamweaver does not allow you to transform it into an editable or repeating region. This issue has to
do with how InContext Editing saves editable pages when the user is working in the browser. When a user saves the page after editing, InContext
Editing removes server-side code from the region.

Current selection cannot be transformed or wrapped with a DIV tag because the parent node doesn't allow DIV as child
tag

When the selection you want to transform on your page can’t be transformed directly, Dreamweaver needs to wrap the selection with div tags that
will act as the container for your new editable or repeating region. For this reason, the parent tags of what you want to transform must allow div
tags as children. If the parent tag of the tag you’re trying to transform doesn’t permit child div tags, Dreamweaver will not allow you to perform the
transformation.

Current selection already contains or is inside of an Editable Region. Nested Editable Regions are not allowed.

If your selection is inside an editable region, or if there is an editable region within the selection, Dreamweaver does not allow you to perform the
transformation. InContext Editing does not support nested editable regions.

Editable Regions should not contain Repeating Regions or Repeating Regions Groups

InContext Editing editable regions cannot contain any other InContext Editing functionality. If you try to add a repeating region or a repeating
regions group to an editable region, Dreamweaver does not allow you to perform the transformation.

Repeating Regions should not be inside Editable Regions or contain Repeating Regions Groups

InContext Editing editable regions cannot contain any other InContext Editing functionality. If you try to add a repeating region or a repeating

696

This manual is related to the following products: