Editing a library item changes the original item file. Dreamweaver lets you choose to update the edited item in all documents in the current site.
Note: The Style palette and the Timeline inspector are unavailable when you are editing a library item because library items can contain only BODY
elements. Timeline and style sheet code is part of the HEAD
. Similarly, the Behavior inspector is also unavailable because it inserts code into the HEAD
as well as the BODY
. For instructions on how to edit behaviors in library items, see Editing a behavior in a library item.
To edit a library item:
1 | Choose Window > Library or click Library on the Launcher. |
2 | Select a library item and click Open, or double-click the item. |
Dreamweaver opens a new window for editing the library item | |
3 | Edit the library item and then save your changes. |
4 | In the dialog box that appears, choose whether to update the documents on the local site with the edited library item. Choose Yes to update all documents in the local site with the edited library item. Choose No to not change any documents until you use Modify > Library > Update Current Page or Update Pages. |
![]() |
Updating library items replaces the content of an item in documents that include the item.
To update a library item:
1 | Choose Modify > Library > Update Pages. |
2 | In the dialog box that appears, choose the files that you want to update. |
![]() |
Choose Entire Site to update all documents on the specified site. |
![]() |
Choose Files That Use to update all documents that use the specified library item. |
3 | Click Start. |
![]() |
Note: You can also use the Update Pages dialog box to update pages that use a template. See Modifying templates and updating the site.
Renaming a library item breaks the connection between items that were inserted with the old name and the renamed item.
To rename a library item:
1 | Select a library item in the Library palette. |
2 | Click inside the item name. |
3 | Enter a new name. |
![]() |
Deleting a library item removes the item from the library, but doesn't change the content of any documents.
To delete a library item:
1 | Choose Window > Library or click the Library button on the Launcher. |
2 | Select an item in the Library palette. |
3 | Click the Delete button or press the Delete key. |
![]() |