I am wanting to make a custom block for the Editor plugin which will allow user to upload 1 audio file.
Following the Block extensions guide I am lost when it gets to writing the index.js for my audio-block plugin.
I am not sure how to fill the below in the index.js …
I thought I would be able to write something similar to the image-block as I am uploading a file, but don’t know what code to adapt. Any advice or documenatation out there?