PDF Upload in RichEditor
How can I upload pdf using RichEditor, this was there by default in V3
7 Replies
enable: attachFiles
attachFiles only support images
you need to set the accepted filetypes
->fileAttachmentsAcceptedFileTypes()->fileAttachmentsAcceptedFileTypes(['application/pdf'])
Would that not allow pdf? I haven't tested it myself
Thanks @awcodes and @toeknee .
Really appreciate