OnlyOffice opened in a separated tab, instead of embeded in Seafile webui

Seafile: 13.0.12

I’m now hosting OpenCloud and OnlyOffice docker container on the same host (Oracle Linux 9). Both are working together well with document opened inside OpenCloud. Both use Pangolin on the same host as their reverse proxy. They are on the same domain with different subdomain.

I would like to compare OpenCloud with Seafile, so I spin up Seafile docker on another host (because the first host has limited resources) and integrate it with the existing OnlyOffice container on the other host mentioned above. My Seafile uses the bundle Caddy Docker Compose as its reverse proxy. Its domain is different from OnlyOffice’s.

So far, I can integrate them successfully, but documents on Seafile open in a separate tab on my browser (edge, chrome), instead of being embedded inside Seafile webui.

I don’t know how to open files embedded inside the Seafile web UI. Any suggestions would be appreciated.

Note: I tried below in Pangolin resources of OnlyOffice, Customs Header, but it didn’t help
Content-Security-Policy: frame-ancestors https://seafile.mydomain2.cc ‘self’

I don’t know what exactly you mean.

Most file types in Seafile are opened in a new tab after clicking. At the top of the page of the new tab, you can see a Seafile specific top:

Thanks. I mean Seafile should not open office documents in another tab, but open embedded on the same tab as Seafile.

I attach Opencloud webui embedded with OpenOffice Excel file for your reference.

Then this is a UI design choice of Seafile.

Thanks for confirming this point so I’ll stop trying to make the impossible :sweat_smile: