feat: Additional embed integrations (#3398)
* feat: Gliffy integration * feat: JSFiddle integration * feat: Otter.ai integration * Optimised images with calibre/image-actions Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
19
shared/editor/embeds/Otter.tsx
Normal file
19
shared/editor/embeds/Otter.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as React from "react";
|
||||
import Frame from "../components/Frame";
|
||||
import { EmbedProps as Props } from ".";
|
||||
|
||||
function Otter(props: Props) {
|
||||
return (
|
||||
<Frame
|
||||
{...props}
|
||||
src={props.attrs.href}
|
||||
title="Otter.ai Embed"
|
||||
referrerPolicy="origin"
|
||||
border
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Otter.ENABLED = [new RegExp("https?://otter.ai/[su]/(.*)$")];
|
||||
|
||||
export default Otter;
|
||||
Reference in New Issue
Block a user