---
title: "Edit the content item for a component"
slug: "edit-the-content-item-for-a-component"
abstract: "Open a content item in the content editor directly from the page editor."
---
# Edit the content item for a component

Data for a component can be stored locally on the page or in a separate content item. If the component has a content item assigned as its data source, you can open the content item directly from the page in the Page editor.

To edit the content item for a component:

1. In the page editor, open the page you want to edit.
2. In the content area, select the component that you want to edit.
3. In the right-hand panel, click **Edit content item**.
    - If a content item has been assigned to the component, the content item opens in the content editor.
    - If no content item has been assigned to the component, the page item opens in the content editor.

    ![The content editor with the Go back link](https://doc.sitecore.com/api/markdown-image/xp/en/users/102/sitecore-experience-platform/images/Edit-content-item-back-10_2_.png)

    > [!note]
    > When you open a content item in this way, a ribbon with a Go back link appears in place of the global toolbar and the Pages and Content tabs are hidden. If you close the ribbon or navigate to another item in the Content tree, the Go back link disappears.

4. Edit fields on the item.

    > [!note]
    > Changes affect other pages that use the content item.

5. To return to the page editor, in the ribbon, click **Go back**.