Skip to content

Commit

Permalink
feat: add onSelectFile config option to ImageConfig
Browse files Browse the repository at this point in the history
This config option, if passed will be invoked on clicking "select an image". This callback receive the current imageTool as parameter, in order to permit user carry call methods like onUpload with the response object (`{ success: true, file: ... }`)

This should close editor-js#56
  • Loading branch information
mernxl committed Jul 23, 2020
1 parent c78c013 commit 1f311c4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
Loading

0 comments on commit 1f311c4

Please sign in to comment.