Image
- Based on TipTap's Image extension. @tiptap/extension-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