diff --git a/packages/web-app-draw-io/src/App.vue b/packages/web-app-draw-io/src/App.vue index 90e1f91906e..e2630ed1f22 100644 --- a/packages/web-app-draw-io/src/App.vue +++ b/packages/web-app-draw-io/src/App.vue @@ -4,7 +4,7 @@ ref="drawIoEditor" :src="iframeSource" :title="$gettext('Draw.io editor')" - sandbox="allow-scripts allow-same-origin" + sandbox="allow-scripts" /> @@ -73,6 +73,7 @@ export default defineComponent({ stealth: 1, spin: 1, proto: 'json', + mode: 'ocis', ui: unref(config).theme }) diff --git a/packages/web-app-external/src/App.vue b/packages/web-app-external/src/App.vue index 2f149e1a090..f94e070e875 100644 --- a/packages/web-app-external/src/App.vue +++ b/packages/web-app-external/src/App.vue @@ -5,7 +5,7 @@ class="oc-width-1-1 oc-height-1-1" :title="iFrameTitle" allowfullscreen - sandbox="allow-scripts allow-same-origin" + sandbox="allow-scripts" />