mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 09:28:40 +08:00

A while ago in 27b97e4 the pick-files-input was added but only used once for data-explorer. This commit uses it for the composer-editor, and cleans it up to be usable either via uppy handling the uploads or with this component handling the uploads. This can then be used in other places in the app and also for plugins.