import { OutputBlockData } from "@editorjs/editorjs";
export const embed = ({ data }: OutputBlockData): string => {
const provider = data.service;
if (provider === "vimeo") {
return ``;
}
if (provider === "youtube") {
return ``;
}
console.error(
"[editorjs-html]: Only Youtube & Vimeo embeds are available by default. Write your own embed parser for other options."
);
return "";
};