How to edit custom content?


I’m trying to figure out how to navigate to an editComponent from a contentViewComponent, similar to clicking the edit button in a page.

The edit component docs indicate that using the editComponent, Confluence will provide the breadcrumbs, title input, submit and cancel button on the edit component. And the add-on needs to supply the editor area.

The custom content tutorial for Confluence unfortunately does not cover how to edit custom content.

How do you navigate from the content view to the edit view?