How to upload image using jQuery within WordPress using assets manager.
Question
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?Answers (2)
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.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #605
How we can save HTML
How we can save HTML without using editor.getHtml() and replace function. As, when we are using this in image upload then the existing vide...
Issue #1707
Find images links in the editor
I am trying to integrate GrapesJs in reactJs. Can you please help me out with the below question w.r.t GrapesJs-React, • Is there a way to...
Issue #426
After image Upload immediately show in the asset Manager
@ artf I tried my best, but still it doesn't seem to work Can you please help me in this. Once I upload a image I don't want to refresh the...
Issue #1931
[Question]: How to insert image inside the link?
Hi @artf , How can I insert image inside the link? Please share your ideas what I need to do. If I need to create any custom component, ple...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.