I’m trying to initialize imageEditor when the file is added. Below is the code that I tried but not getting the desired result. Any helps would be appreciated.
uppy.on('file-added', (file) => {
// uppy.emit("file-editor:start", (file) => {
// });
// uppy.getPlugin('Dashboard').openFileEditor(file)
// uppy.openFileEditor(file)
console.log('Added file', file)
})