Skip to content

Commit 252e5cc

Browse files
authored
feat: hide embeddable hyperlinks for custom pad elements (#11)
1 parent 53c6be5 commit 252e5cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/frontend/src/lib/ExcalidrawElementFactory.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ export class ExcalidrawElementFactory {
119119
return {
120120
...element,
121121
type: "embeddable",
122-
link: options.link
122+
link: options.link,
123+
customData: {
124+
showHyperlinkIcon: false
125+
}
123126
};
124127
}
125128

0 commit comments

Comments
 (0)