• I’m using the shapely theme for a website. I cannot edit the homepage widgets with this module activated and get javascript errors on the customize.php page:

    Uncaught TypeError: wp.editor.initialize is not a function
    at HTMLTextAreaElement.<anonymous> (customizer.js?ver=5.3.2:7)
    at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate&ver=5.3.2:2)
    at a.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate&ver=5.3.2:2)
    at customizer.js?ver=5.3.2:3
    at dispatch (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate&ver=5.3.2:3)
    at r.handle (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate&ver=5.3.2:3)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter stevied

    (@stevied)

    I fixed the issue, though I’m not sure if it might have unintended effects on the operation of the plugin. But maybe this will help isolate the problem.

    1) In admin/admin.php
    2) In the gpvb_enqueue_styles_admin() function
    3) In the wp_register_script() command
    4) Change “true” to “false”

    See https://developer.www.ads-software.com/reference/functions/wp_register_script/ for reference.

    Plugin Author Jb Audras

    (@audrasjb)

    Hello,
    Thanks for the feedback, and for your investigations!
    I’ll try to reproduce the issue and publish a patch asap.

    Hi JB
    I confirm on differents platforms when PDF viewer block is network activated we lost the quicktab toolbar in the widget text, with the same error
    Not a problem with theme.
    TypeError: wp.editor.initialize is not a function text-widgets.min.js:1:3257

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JS conflict with shapely theme’ is closed to new replies.