generic iframe embed (#1234)

This commit is contained in:
Philip Okugbe
2025-06-09 22:32:23 +01:00
committed by GitHub
parent 0029f84d50
commit 50b3f9ddd9
3 changed files with 32 additions and 3 deletions

View File

@ -104,6 +104,14 @@ export const embedProviders: IEmbedProvider[] = [
return url;
},
},
{
id: "iframe",
name: "Iframe",
regex: /any-iframe/,
getEmbedUrl: (match, url) => {
return url;
},
},
];
export function getEmbedProviderById(id: string) {