Support

Account

Home Forums Front-end Issues Frontend WYSIWYG Problems Reply To: Frontend WYSIWYG Problems

  • Hi @tatemz

    The problem is that the replacement HTML coming back from the AJAX is not recognized by ACF. This is why it is not styled correctly / interacts correctly.

    You will need to re initialize the ACF javascript on the HTML. You can do this quite easily by running a jQuery action on the new DOM element like so:

    
    $(document).trigger('acf/setup_fields', $('#new-element'));