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:
13
shared/editor/embeds/Gliffy.tsx
Normal file
13
shared/editor/embeds/Gliffy.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import * as React from "react";
|
||||
import Frame from "../components/Frame";
|
||||
import { EmbedProps as Props } from ".";
|
||||
|
||||
function Gliffy(props: Props) {
|
||||
return (
|
||||
<Frame {...props} src={props.attrs.href} title="Gliffy Embed" border />
|
||||
);
|
||||
}
|
||||
|
||||
Gliffy.ENABLED = [new RegExp("https?://go.gliffy.com/go/share/(.*)$")];
|
||||
|
||||
export default Gliffy;
|
||||
Reference in New Issue
Block a user