Unable to embed IFRAME content into SharePoint
Preflight Checklist
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug When embedding a diagram via File ->Embed -> Iframe and copying the source, then embedding into an SharePoint Online page, the content does not load, it says "app.diagrams.net refused to connect".
To Reproduce Steps to reproduce the behavior:
- Go to 'https://app.diagrams.net' and open a diagram from OneDrive
- Click on 'Share' and share the diagram with Anyone
- Click on 'Embed' -> 'IFrame' -> 'Create' -> 'Copy'
- Add an 'Embed' webpart to a SharePoint Online page and 'Paste' the code. Publish the page.
- See error
Expected behavior The diagram should be visible in the SharePoint Online page as it is when using Viewer URL in iframe, to everyone having access to the particular SharePoint page (bc the diagram itself is shared with Anyone).
Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 24.6.5
Desktop (please complete the following information):
- OS: Windows 11 23H2
- Browser Edge
- Browser Version 126.0.2592.87
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
- yes
Additional context I have concern with the following permission requests as well: "Have full access to all files you have access to" "Maintain access to data you have given it access to"