Fix Google sheets regex
This commit is contained in:
parent
aa6a046aa6
commit
55b8128829
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ export const embedProviders: IEmbedProvider[] = [
|
||||||
id: "gsheets",
|
id: "gsheets",
|
||||||
name: "Google Sheets",
|
name: "Google Sheets",
|
||||||
regex:
|
regex:
|
||||||
/^((?:https?:)?\/\/)?((?:www|m)\.)?(docs\.google\.com)\/spreadsheets\/d\/e\/([a-zA-Z0-9_-]+)\/.*$/,
|
/^((?:https?:)?\/\/)?((?:www|m)\.)?(docs\.google\.com)\/spreadsheets\/d\/([a-zA-Z0-9_-]+)\/.*$/,
|
||||||
getEmbedUrl: (match, url: string) => {
|
getEmbedUrl: (match, url: string) => {
|
||||||
return url;
|
return url;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue