I am struggeling to get a custom backend to receive inserted images, using an isolated block editor instance
I cannot find any documentation about the custom media upload interface, nor any example.
Hopefully anyone can provide such an example, since without user defined upload / backend the isolated editor would not make any sense in my opinion.
I am struggeling to get a custom backend to receive inserted images, using an isolated block editor instance I cannot find any documentation about the custom media upload interface, nor any example.
Hopefully anyone can provide such an example, since without user defined upload / backend the isolated editor would not make any sense in my opinion.
` const settings = { }; settings.editor = {}; settings.editor.mediaUpload = myupload; wp.attachEditor( textarea, settings );
const myupload = function(x) { //is this the right place to deal with an upload??? }
`