Skip to content

Commit 3d75aa0

Browse files
committed
fix: Problem copying to clipboard from iframe
1 parent 629e957 commit 3d75aa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/createWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const createWidget = <R extends SkybridgeResource, M extends SkybridgeMod
4545

4646
return {
4747
__sswi__url: url,
48-
__sswi__iframe: `<iframe title="${iframeTitle}" src="${url}" style="border: none; display: block; width: 100%; height: ${getHeight(
48+
__sswi__iframe: `<iframe allow="clipboard-write" title="${iframeTitle}" src="${url}" style="border: none; display: block; width: 100%; height: ${getHeight(
4949
{ size },
5050
)};"></iframe>`,
5151
};

0 commit comments

Comments
 (0)