From 65d628ffc00cbfcda3d9872b7ae784bfadb70290 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 29 Aug 2024 11:10:43 +0530 Subject: [PATCH] fix: slides rendering issue --- frontend/src/utils/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/utils/index.js b/frontend/src/utils/index.js index 94b04f85d..4ced1cf2d 100644 --- a/frontend/src/utils/index.js +++ b/frontend/src/utils/index.js @@ -233,9 +233,9 @@ export function getEditorTools() { }, github: true, slides: { - regex: /https:\/\/docs\.google\.com\/presentation\/d\/e\/([A-Za-z0-9_-]+)\/pub/, + regex: /https:\/\/docs\.google\.com\/presentation\/d\/([A-Za-z0-9_-]+)\/pub/, embedUrl: - 'https://docs.google.com/presentation/d/e/<%= remote_id %>/embed', + 'https://docs.google.com/presentation/d/<%= remote_id %>/embed', html: "", }, drive: {