Skip to content

Commit

Permalink
fix: apply sandbox attribute to draw-io iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Apr 3, 2024
1 parent 6697194 commit aac6f53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/web-app-draw-io/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<template>
<div>TEST</div>
<iframe
id="drawio-editor"
ref="drawIoEditor"
:src="iframeSource"
:title="$gettext('Draw.io editor')"
sandbox="allow-scripts allow-same-origin"
/>
</template>

<script lang="ts">
import qs from 'qs'
import {
Expand Down

0 comments on commit aac6f53

Please sign in to comment.