diff --git a/frontend/src/utils/index.js b/frontend/src/utils/index.js
index f560d061..0a7a5826 100644
--- a/frontend/src/utils/index.js
+++ b/frontend/src/utils/index.js
@@ -236,10 +236,10 @@ export function getEditorTools() {
html: "",
},
codesandbox: {
- regex: /^https:\/\/codesandbox\.io\/(?:embed\/)?([A-Za-z0-9_-]+)(?:\?[^\/]*)?$/,
+ regex: /^https:\/\/codesandbox\.io\/(?:(?:p\/(?:sandbox|devbox)\/)|(?:embed\/)|(?:s\/))?([A-Za-z0-9_-]+)(?:[\/\?].*)?$/,
embedUrl:
'https://codesandbox.io/embed/<%= remote_id %>?view=editor+%2B+preview&module=%2Findex.html',
- html: "",
+ html: "",
},
},
},