Details
-
Improvement
-
Resolution: Unresolved
-
Blocker
-
None
-
None
-
None
-
None
Description
Inside the preview, the iframe FE libraries call `mgnlFrameReady` function to tell Magnolia to render green bars.
When default FE libs behaviour is not enough, developers can explicitly call `mgnlFrameReady` to tell Magnolia to render the green bars.
It sometimes still can be not enough and editors needs to refresh the page to be able to edit it.
Could we modify the `mgnlFrameReady` function itself or how Magnolia handles it that it would be enough just to call it once, and Magnolia will keep retrying to render the green bars until successful?
successful could be as simple as check the HTML DOM for green bars elements, or some more advanced technique.
Checklists
Acceptance criteria