Skip to content

Commit

Permalink
feat: improve security measures in SVG elements (#852)
Browse files Browse the repository at this point in the history
- Add `allow="clipboard-write"` attribute to the SVG element

Signed-off-by: jason.lai <jasonlai1218@gmail.com>
Co-authored-by: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com>
  • Loading branch information
jasonlai1218 and eapolinario committed Apr 2, 2024
1 parent 7aabb32 commit 34edde1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const ExecutionNodeDeck: React.FC<{
width: '100%',
height: '100%',
}}
allow="clipboard-write"
/>
</WaitForData>
);
Expand Down

0 comments on commit 34edde1

Please sign in to comment.