Skip to content

Attachment

Attachment is a node extension that allows you to add an Attachment to your editor.

Usage

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

const extensions = [
  ...,
  // Import Extensions Here
  Attachment.configure({
    upload: (file: any) => {
      // upload file to server return url
    },
  }),
];

Source

SourceDocs

Contributors

Changelog

v0.0.41 on 9/26/2024
b38b9 - feat: add attachment

Made with ❤️