From ce645b158b20aabdedb56a7f43f5225a567b4eea Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 4 Sep 2023 20:40:59 -0400 Subject: [PATCH] fix: Allow pasting Pitch embed links --- shared/editor/embeds/Pitch.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/editor/embeds/Pitch.tsx b/shared/editor/embeds/Pitch.tsx index 938e42bf6..d0177e717 100644 --- a/shared/editor/embeds/Pitch.tsx +++ b/shared/editor/embeds/Pitch.tsx @@ -18,6 +18,7 @@ Pitch.ENABLED = [ new RegExp( "^https?://app\\.pitch\\.com/app/(?:presentation/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|public/player)/(.*)$" ), + new RegExp("^https?://pitch\\.com/embed/(.*)$"), ]; export default Pitch;