Support

Account

Home Forums Add-ons Flexible Content Field Flexible Content, 3.8.1, Can't Add/Delete/Duplicate/Reorder Layouts Reply To: Flexible Content, 3.8.1, Can't Add/Delete/Duplicate/Reorder Layouts

  • Nothing happens on click.

    This is the console on load:

    Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: only screen and (-webkit-min-device-pixel-ratio: 2), not all, not all, not all, only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) post.php?post=28125&action=edit:1
    Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) post.php?post=28125&action=edit:108
    Uncaught ReferenceError: tinyMCE is not defined post.php?post=28125&action=edit:62
    event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

    Here’s the code causing the TinyMCE error:

                                   <script>
                    jQuery(document).ready( tinymce_excerpt );
                        function tinymce_excerpt() {
                            jQuery("#excerpt").addClass("mceEditor");
                            tinyMCE.execCommand("mceAddControl", false, "excerpt");
                            tinyMCE.onAddEditor.add(function(mgr,ed) {
                                if(ed.id=="excerpt"){
                                    ed.settings.theme_advanced_buttons2 ="";
                                    ed.settings.theme_advanced_buttons1 = "bold,italic,underline,seperator,justifyleft,justifycenter,justifyright,separator,link,unlink,seperator,pastetext,pasteword,removeformat,seperator,undo,redo,seperator,spellchecker,";
                                }
                            });
                        }
            </script>

    I disabled all plugins except ACF and its add-ons to see if that would fix the error, but it did not. Any ideas?