Skip to content

Commit

Permalink
Add Yandex Map embeded component
Browse files Browse the repository at this point in the history
  • Loading branch information
shashinma committed May 6, 2024
1 parent 6be9d48 commit 9c12f29
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions shared/editor/embeds/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,14 @@ const embeds: EmbedDescriptor[] = [
icon: <Img src="/images/google-maps.png" alt="Google Maps" />,
visible: true,
}),
new EmbedDescriptor({
title: "Yandex Maps",
keywords: "maps",
regexMatch: [new RegExp("^https?://yandex\.ru/map-widget/v1/\?.+$")],
transformMatch: (matches: RegExpMatchArray) => matches[0],
icon: <Img src="/images/yandex-maps.png" alt="Yandex Maps" />,
visible: true,
}),
new EmbedDescriptor({
title: "Google Drawings",
keywords: "drawings",
Expand Down

0 comments on commit 9c12f29

Please sign in to comment.