Operation Manual

Table Of Contents
334
Page content and assets
Last updated 11/30/2015
Insert a library item into a document
When you add a library item to a page, the actual content is inserted in the document along with a reference to the
library item.
1 Place the insertion point in the Document window.
2 In the Assets panel, select the Library category .
3 Do one of the following:
Drag a library item from the Assets panel to the Document window.
To insert the contents of a library item without including a reference to the item in the document, press Control
(Windows) or Option (Macintosh) while dragging an item out of the Assets panel. If you insert an item this way, you
can edit the item in the document, but the document won’t be updated when you update pages that use that library item.
Select a library item, and click Insert.
Edit library items and update documents
When you edit a library item, you can update all documents that use that item. If you choose not to update, the
documents remain associated with the library item; you can update them later.
You can rename items to break their connection with documents or templates, delete items from the sites library, and
recreate a missing library item.
Note: The CSS Styles panel is unavailable as you edit a library item, because library items can contain only body elements
and Cascading Style Sheets (CSS) code is inserted in the head section of a document. The Page Properties dialog box is also
unavailable, because a library item can’t include a body tag or its attributes.
Edit a library item
1 In the Assets panel, select the Library category .
2 Select a library item.
3 Either Click the Edit button or double-click the library item.
Dreamweaver opens a new window, similar to the Document window, for editing the library item. The gray
background indicates that youre editing a library item instead of a document.
4 Make and then save your changes.
5 Specify whether to update the documents on the local site that use the library item. Select Update to update
immediately. If you select Dont Update, documents won’t be updated until you choose Modify > Library > Update
Current Page or Update Pages.
Update the current document to use the current version of all library items
?
Select Modify > Library > Update Current Page.
Update the entire site or all documents that use a particular library item
1 Select Modify > Library > Update Pages.
2 In the Look In pop-up menu, specify what to update:
To update all pages in the selected site to use the current version of all library items, select Entire Site, then select
the site name from the adjacent pop-up menu.