layout icon indicating copy to clipboard operation
layout copied to clipboard

When using within an iframe with 3rd party cookies blocked, "No suitable storage found" error thrown

Open pkgarg opened this issue 3 years ago • 1 comments

I've been using the layout manager for several years.

More recently, we upgraded to the latest NPM download for layout-jquery3.

When using it within an iframe to publish a page on domain other than the page domain, we get a 'No suitable storage found' error, when the user's browser has blocked all 3rd party cookies.

I'm willing to dig into the code to fix, but would need some guidance.

pkgarg avatar May 11 '22 20:05 pkgarg

The problem is embedded code for Persist.js in jquery.layout_and_plugins.js.

A workaround is to replace Persist.js by a more modern library.

pkgarg avatar May 11 '22 22:05 pkgarg