Support

Account

Home Forums Backend Issues (wp-admin) 2 WYSIWYG Editors but only the first one works Reply To: 2 WYSIWYG Editors but only the first one works

  • I have the same issue with the latest version. I’m using tab groups and a bunch of wysiwygs. The first one in the first tab i shown. The rest of them are not. Same error message as above. Happens for Chrome Mac/Win.

    Edit: Well, it actually works on 2 out of 7. Seems random.

    Edit 2: Turns out you cannot use certain characters in the name. Since it evaluates to an expression. The guys who originally wrote the used “:” in the name, which of course can’t be used as an selector.

    Edit 3: Other weird errors has emerged.
    load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:570 Uncaught Error: Syntax error, unrecognized expression: a[href*=#], a[name*=#]

    input.min.js?ver=4.4.7:formatted:1323 Uncaught TypeError: Cannot set property 'toolbar1' of undefined

    Edit 4: Found the issue the child theme’s main js.

    $body.on('click', 'a[href*="#"], a[name*="#"]', function(event) {
    ...
    return false;
    }

    And tinymce is using a trigger(‘click’) in a few places.

    Not sure WHAT someone was thinking writing that code.