grapesjs
grapesjs copied to clipboard
How to upload image using jQuery within WordPress using assets manager.
This is the code that I have:
assetManager: { uploadFile: (e) => { jQuery.post( ajaxurl, { ...... } ); } }
But when I drop the image inside of the drop area, it does not trigger the jQuery post function. can you please help guide me with what I am doing wrong?
https://github.com/artf/grapesjs/wiki/Assets#uploading-assets
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.