Skip to content

Usage

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

const extensions = [
  ...,
  // Import Extensions Here
  ImageUpload.configure({
    upload: (files: File) => {
      return new Promise((resolve) => {
        setTimeout(() => {
          resolve(URL.createObjectURL(files))
        }, 500)
      })
    },
  }),
];

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 ❤️