Cloudinary Upload/Insert Button in Wordpress Plugin

Comments

4 comments

  • Avatar
    MIT DEV

    I was able to get the button working on an ACF editor field by changing the event call in cloudinary.js

    from

    jQuery('.cloudinary_add_media').click(function()

    to 

    jQuery(document) .on('click', '.cloudinary_add_media', function() 

    Next step is to get the insert_into_post working with the correct field....

    0
    Comment actions Permalink
  • Avatar
    Ido

    Hi

    Thanks for your patience in this. 

    I've asked our dev team to take a look at the request, although we can't promise this would be added to our near future plans.

     

    Note that the post_content field is something our PHP SDK relies on, so need to be gentle when changing things around that. 

    0
    Comment actions Permalink
  • Avatar
    Simon Olsen

    Confirming that MIT DEV's fix works. I have a WP site with lots of ACF Flexible Content fields and the Cloudinary Upload/Insert button would work on a normal post paragraph but not in any ACF fields.

    I applied MIT DEV's fix and did a force-refresh of the page (hold SHIFT and click refresh) and the button works on ACF fields.

    1
    Comment actions Permalink
  • Avatar
    Ido

    Hi Simon,

     

    Thanks for confirming and sharing!

     

    We appreciate this.

    0
    Comment actions Permalink

Please sign in to leave a comment.