DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

Cross domain issues

Open chinamaqs opened this issue 3 years ago • 5 comments

Do you want to request a feature or report a bug? In doubt What is the current behavior? I want to open onlyoffice as a new page instead of embedding it If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

What is the expected behavior?

Did this work in previous versions of DocumentServer?

DocumentServer version:

Operating System:

Browser version:

chinamaqs avatar Aug 18 '22 09:08 chinamaqs

I want to get the link to edit the document instead of directly embedding it. Because direct embedding sometimes has cross domain problems, how about getting links?

chinamaqs avatar Aug 18 '22 09:08 chinamaqs

Sorry, I don't get you at all, you need to clarify what you already done, what fails and what you want to do more clearly

ShockwaveNN avatar Aug 18 '22 09:08 ShockwaveNN

f1460bc417cc1cdbb038274bcae835f The idea is to directly drag the text on the left to the onlyoffice document. But it can't be realized because the browser is cross domain. If I can get the link address of the editing page, I can solve this problem. I look forward to your answer

chinamaqs avatar Aug 18 '22 09:08 chinamaqs

Not sure if this is even possible due to browser security, your DocumentServer opened in iframe and if I'm not mistaken they cannot share any context

ShockwaveNN avatar Aug 18 '22 09:08 ShockwaveNN

Not sure if this is even possible due to browser security, your DocumentServer opened in iframe and if I'm not mistaken they cannot share any context

Okay, thank you. I'll think about it

chinamaqs avatar Aug 18 '22 09:08 chinamaqs

This issue was closed due to no response.

ShockwaveNN avatar Oct 12 '22 06:10 ShockwaveNN