diff --git a/public/images/scribe.png b/public/images/scribe.png new file mode 100644 index 000000000..edaa18ad0 Binary files /dev/null and b/public/images/scribe.png differ diff --git a/shared/editor/embeds/Scribe.tsx b/shared/editor/embeds/Scribe.tsx new file mode 100644 index 000000000..54abae908 --- /dev/null +++ b/shared/editor/embeds/Scribe.tsx @@ -0,0 +1,19 @@ +import * as React from "react"; +import Frame from "../components/Frame"; +import { EmbedProps as Props } from "."; + +export default function Scribe(props: Props) { + const { matches } = props.attrs; + const shareId = matches[1]; + + return ( + + ); +} + +Scribe.ENABLED = [/^https?:\/\/scribehow\.com\/shared\/(.*)$/]; diff --git a/shared/editor/embeds/index.tsx b/shared/editor/embeds/index.tsx index d303c9d90..00a488b88 100644 --- a/shared/editor/embeds/index.tsx +++ b/shared/editor/embeds/index.tsx @@ -34,6 +34,7 @@ import ModeAnalytics from "./ModeAnalytics"; import Otter from "./Otter"; import Pitch from "./Pitch"; import Prezi from "./Prezi"; +import Scribe from "./Scribe"; import Spotify from "./Spotify"; import Tldraw from "./Tldraw"; import Trello from "./Trello"; @@ -311,6 +312,13 @@ const embeds: EmbedDescriptor[] = [ component: Prezi, matcher: matcher(Prezi), }, + { + title: "Scribe", + keywords: "screencast", + icon: () => Scribe, + component: Scribe, + matcher: matcher(Scribe), + }, { title: "Spotify", keywords: "music",