Skip to content

Image

Usage

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

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

Image Gif

  • ImageGif is a node extension that allows you to add an ImageGif to your editor.
  • More: ImageGif

Source

SourceDocs

Contributors

Changelog

v0.1.7 on 11/9/2024
83270 - feat: flip image
v0.1.3 on 11/5/2024
93d97 - fix: parse inline image
v0.0.56 on 10/25/2024
fcd95 - feat: image inline, refactor video upload
v0.0.51 on 10/20/2024
48ed5 - feat: add extension mermaid
v0.0.34 on 9/7/2024
1fafc - fix(image): display image block

Made with ❤️