diff --git a/shared/editor/embeds/Airtable.tsx b/shared/editor/embeds/Airtable.tsx index 9dcf99b23..d77409bd5 100644 --- a/shared/editor/embeds/Airtable.tsx +++ b/shared/editor/embeds/Airtable.tsx @@ -3,16 +3,18 @@ import Frame from "../components/Frame"; import { EmbedProps as Props } from "."; const URL_REGEX = new RegExp( - "^https://airtable.com/(?:app.*/)?(?:embed/)?(shr.*)$" + "^https://airtable.com/(?:embed/)?(app.*/)?(shr.*)$" ); function Airtable(props: Props) { const { matches } = props.attrs; - const shareId = matches[1]; + const appId = matches[1]; + const shareId = matches[2]; + return (