<our-edit-link>
<our-edit-link> renders a link that opens the current page in the Umbraco backoffice. It’s only rendered for someone logged in to the backoffice with access to the Content section; everyone else sees nothing.
<our-edit-link>Edit</our-edit-link>That renders an <a> to the page’s content item, where the GUID is the page’s key:
<a href="/umbraco/section/content/workspace/document/edit/b0c59e4c-158c-4fd4-9beb-ebe907693f1c">Edit</a>Fixed to the corner of the screen
Section titled “Fixed to the corner of the screen”use-default-styles places the link at the bottom left of the screen, with white text on navy, so it’s always in reach:
<our-edit-link use-default-styles>Edit</our-edit-link>Open in a new tab
Section titled “Open in a new tab”The link is an ordinary <a>, so other attributes such as target and class are kept:
<our-edit-link target="_blank" class="edit-link">Edit</our-edit-link>Attributes
Section titled “Attributes”| Attribute | What it does |
|---|---|
content-key Added in v2.0.0 |
The key (GUID) of the content item to edit. Leave it out for the current page. |
use-default-styles |
Fixes the link to the bottom left of the screen with built-in styles. |