The context switching (structure/edit/..) does not work and editables
does not show up because core.js waits for a "cq-pagemodel-loaded"
event.The latest @adobe/cq-spa-page-model-manager (1.0.7) npm library
submit this event after it fetches the page model but it is not received
by the listener in core.js, I believe it is because it submits the event
on the wrong window object.Doing a manual submit fixed the problem in
our case, so i'm posting this as a workaround for those who experience
it. wi...