hunghg255 / reactjs-tiptap-editor

A modern WYSIWYG rich text editor based on tiptap and shadcn ui for Reactjs
https://reactjs-tiptap-editor.vercel.app/
MIT License
203 stars 37 forks source link

Add resolveUrl prop #55

Closed stefan-krajnik closed 1 month ago

stefan-krajnik commented 1 month ago

Currently there's no way to use e.g. signed urls for uploaded files.

A callback function resolveUrl: (src: string) => Promise<string> would solve the issue. Or if you have any other idea we can discuss in comments.

hunghg255 commented 1 month ago

@stefan-krajnik thank you for feedback. Do we need a callback url? In what cases do you use it?

stefan-krajnik commented 1 month ago

@hunghg255 The use case I have is, that all files are uploaded to aws s3 bucket, not all files are public, so I need to generated signed url.