I added utilities-lite for the purposes of the editor component. You won’t need it for the problem you’re trying to solve.
@gdpelican’s solution is a good start. I suggest you build on that by creating a new wizard component (an ember component, not a theme component) for uploading files.
-
Copy
wizard-field-image.js.es6andwizard-field-image.hbsto createwizard-field-upload.js.es6andwizard-field-upload.hbsin the plugins’wizard/componentsandwizard/templates/components. -
Remove the parts of the template and component relevant to preview functionality (for the initial version at least).
-
Make the changes @gdpelican suggested to allow for pdf uploads.
-
Add
uploadto the list ofCustomWizard::Field.typesinlib/types. -
Submit a PR and I’ll review it.