I want to add some custom content from my atlassian-connect add-on. I could just create some page containing an AUI form, but in the add-on descriptor there is a field
module.customContent.customContent.uiSupport.editComponent which I would like to use, so the creation/edit of that custom content is more integrated into Confluence Cloud. For that field the documentation says
Defines a module for adding or editing custom content.
Confluence will provide the breadcrumbs, title input, submit and cancel button on the edit component. Add-on needs to supply the editor area like the screenshot shown below in a general page module.
So I configured a general page and created an endpoint which returns some HTML containing form fields.
Now in Confluence Cloud how is the redirection to that edit/create page for my custom content triggered? I can’t find any location in the UI or any JS function with that purpose, also the documentation does not say anything about that.