Make images smaller using best-in-class codecs, right in the browser.
JavaScript
Don't restrict drag & drop to images (so it works with wp2 & JXL)
Jake Archibald3d1ecc121535
diff --git a/src/client/initial-app/App/index.tsx b/src/client/initial-app/App/index.tsxindex 8db9aff2..e4700312 100644--- a/src/client/initial-app/App/index.tsx+++ b/src/client/initial-app/App/index.tsx@@ -115,11 +115,7 @@ export default class App extends Component<Props, State> {return (<div class={style.app}>- <file-drop- accept="image/*"- onfiledrop={this.onFileDrop}- class={style.drop}- >+ <file-drop onfiledrop={this.onFileDrop} class={style.drop}>{showSpinner ? (<loading-spinner class={style.appLoader} />) : isEditorOpen ? (