Support

Account

Home Forums ACF PRO ACF PRO Stock Content Editor (WYSIWYG) Move Reply To: ACF PRO Stock Content Editor (WYSIWYG) Move

  • Great tip!
    Why don’t set an ID or a CLASS for the MESSAGE element so you can use a generic function like ?

    
    //wp_content_editor is the id of the message acf field
    (function($) {
    
        $(document).ready(function() {
            if ($("#wp_content_editor").length > 0) {
                $('#wp_content_editor .acf-input').append($('#postdivrich'));
                $(".acf-field #wp-content-editor-tools").css({
                    background: "transparent",
                    "padding-top": 0
                })
            }
        });
    
    })(jQuery);
    

    I’m using this and works good,
    I only sometimes got a js error with the
    yoast-premium-social-preview-370.min.js?ver=3.7.2:1

    but everything seems working good