I've been looking into how to enable image and file upload for Redactor in Statamic V2.
The documentation isn't clear and any forum posts are from 2014-2016.
If you want images and files enabled:
- Add "image" and "file" to your "buttons" settings in site/settings/system.yaml under redactor: buttons. Like so:
buttons: ... - image - file
- This is the important part. Before, you had to add "image_dir" or "file_dir" to your fieldset declaration, but that doesn't seem to work anymore. You must add these to the Redactor settings object in system.yaml:
settings: buttons: ... - image - file fileUpload: assets/file/ imageUpload: assets/img/
Answered by Mikael Staer! Go to answer.