PDF Upload in RichEditor

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

Did you find this page helpful?