Support » Plugin: Location "Nav Menu" for ACF » WYSIWYG breaks after sorting menu items

  • Jonathan Cowher

    (@webgeekconsulting)


    After sorting menu-items WYSIWYG fields are no longer editable. The following patch should fix the issue:

    
    function acfUpdateMenuLayout() {
    
        jQuery('#menu-to-edit')
            .on('sortstart', function(event, ui) {
                acf.do_action('sortstart', ui.item, ui.placeholder);
            })
            .on('sortstop', function(event, ui) {
                acf.do_action('sortstop', ui.item, ui.placeholder);
            })
        ;
    
  • The topic ‘WYSIWYG breaks after sorting menu items’ is closed to new replies.