When loading page - CMS wrapper should be loaded as HTML page, and all page content should be loaded within frame. It may be loaded as HTML script and then rendered within iFrame
Later, instead of whole page reloading, only iFrame can be reloaded
After few redirects to another URLs, back history works interesting (sometimes works, sometimes open white screen, sometimes jumps back in few steps, sometimes is empty)
What to do with external URLS, which are caused by JavaScript (e.g. onclick="window.location.href='http://www.google.com'") ???
Paulius' idea was to work within internal url, e.g. http://{host}/csm/edit/#/my-page-url/ - this will never reload the parent page, only iFrame. It will cause to some JS bugs (need to check if after page reload all scripts are cleared, because till now they work as singleton)
When loading page - CMS wrapper should be loaded as HTML page, and all page content should be loaded within frame. It may be loaded as HTML script and then rendered within iFrame Later, instead of whole page reloading, only iFrame can be reloaded