import { createPluginFactory } from '@udecode/plate-common';

import { VideoPlugin } from './types';

export const ELEMENT_ATTACHMENT_VIDEO = 'attachment_video';

export const createAttachmentVideoPlugin = createPluginFactory<VideoPlugin>({
  key: ELEMENT_ATTACHMENT_VIDEO,
  isElement: true,
  isVoid: true,
});
