Closed fschrempf closed 9 months ago
Using the drawi.io diagram editor in the web UI, closing the editor from within the editor itself is not possible.
drawi.io
draw.io
config.json
*.drawio
Exit
The diagram editor is closed.
The diagram editor stays open and the browser console gives a warning: Scripts may close only the windows that were opened by them.
Scripts may close only the windows that were opened by them.
[...] "external_apps": [ { "id": "draw-io", "path": "web-app-draw-io", "config": { "url": "https://embed.diagrams.net", "theme": "minimal" } } ]
Thanks for your report, we've fixed this in the upcoming version ocis-5.0.0
Hi @JanAckermann , could you point me to the fix in the source code, please, or the issue/PR which fixes it ? Thanks
Describe the bug
Using the
drawi.io
diagram editor in the web UI, closing the editor from within the editor itself is not possible.Steps to reproduce
draw.io
app by editing theconfig.json
*.drawio
file in the web UIExit
Button to close the editorExpected behavior
The diagram editor is closed.
Actual behavior
The diagram editor stays open and the browser console gives a warning:
Scripts may close only the windows that were opened by them.
Setup
config.json