This commit is contained in:
Tom Moor
2017-11-05 22:48:31 -08:00
parent 14326d89f2
commit 51bc705488
10 changed files with 252 additions and 203 deletions

View File

@@ -44,7 +44,10 @@ type KeyData = {
constructor(props: Props) {
super(props);
this.schema = createSchema();
this.schema = createSchema({
onInsertImage: this.insertImageFile,
onChange: this.onChange,
});
this.plugins = createPlugins({
onImageUploadStart: props.onImageUploadStart,
onImageUploadStop: props.onImageUploadStop,