Hi everyone,
We are working in a project with a React App and editing the content via Universal Editor. All content is being handled with content fragments. Including a content fragment model for pages.
Having that in mind, in order for the editor to create new pages, we developed an AIO extension that:
1. Opens a modal (with all the corresponding ExtensionRegistration, Spectrum components, etc...)
2. Has a form where the editor fill the required fields to create the content fragment.
3. Fetch the CF models in order to have the corresponding ids
4. Post via API all the data in order to create the content fragment.
At this point everything is working fine, the remaining point that is left is that we want to redirect the user to a new URL. That URL is the Universal Editor with the new content fragment edition. Pictrure this as:
> The user creates a new page (content fragment) and then opens this new page in the Universal Editor to start adding content.
Since "everything inside de universal editor is an iframe" we can't redirect the whole web (we tried it using `window.top.location.href`but since the extensions doesn't share the domain with de universal editor it has security issues).
Is there anyway that we can manage this problem?
Thanks!
Carlos