Skip to content

Instantly share code, notes, and snippets.

@alvnrapada
Created August 19, 2020 10:17
Show Gist options
  • Save alvnrapada/19fcdb8146a2c40534c4ef7a692d6ff2 to your computer and use it in GitHub Desktop.
Save alvnrapada/19fcdb8146a2c40534c4ef7a692d6ff2 to your computer and use it in GitHub Desktop.
function MyCustomUploadAdapterPlugin(editor) {
editor.plugins.get('FileRepository').createUploadAdapter = (loader) => {
return new MyUploadAdapter(loader)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment