diff --git a/public/images/smartsuite.png b/public/images/smartsuite.png new file mode 100644 index 000000000..1d368318a Binary files /dev/null and b/public/images/smartsuite.png differ diff --git a/shared/editor/components/Embed.tsx b/shared/editor/components/Embed.tsx index b8c937b64..8983c5da1 100644 --- a/shared/editor/components/Embed.tsx +++ b/shared/editor/components/Embed.tsx @@ -45,7 +45,7 @@ const EmbedComponent = ({ , }), + new EmbedDescriptor({ + title: "SmartSuite", + regexMatch: [ + new RegExp("^https?://app\\.smartsuite\\.com/shared/(.*)(?:\\?)?(?:.*)$"), + ], + icon: SmartSuite, + defaultHidden: true, + hideToolbar: true, + transformMatch: (matches: RegExpMatchArray) => + `https://app.smartsuite.com/shared/${matches[1]}?embed=true&header=false&toolbar=true`, + }), new EmbedDescriptor({ title: "Spotify", keywords: "music",