Skip to content

Usage

tsx
import { VideoUpload } from 'reactjs-tiptap-editor'; 

const extensions = [
  ...,
  // Import Extensions Here
   VideoUpload.configure({
    upload: (files: File[]) => {
      const f = files.map(file => ({
        src: URL.createObjectURL(file),
        alt: file.name,
      }))
      return Promise.resolve(f)
    },
  }), 
];

Source

SourceDocs

Contributors

Changelog

v0.0.9 on 8/18/2024
d436d - feat: support dynamic rendering of bubble menu and remove bubble option

Made with ❤️