Support » Plugin: Anchor Block » WP TwentyTwenty customize widget text issue

  • Opening up Customize panel in WP 5.4, go Widgets, Footer no.1 (or no.2), add Text Widget, observe WYSIWYG editor missing, observe issue in developer console (Chrome)

    Uncaught TypeError: wp.editor.initialize is not a function
    at t (VM2249 text-widgets.min.js:2)
    at initializeEditor (VM2249 text-widgets.min.js:2)
    at s (VM2249 text-widgets.min.js:2)

    Disabling the plugin, restores the widget editor WYSIWYG functions

Viewing 2 replies - 1 through 2 (of 2 total)
  • I ran into this too, with text block widgets in the sidebar. Managed to fix it by having the plugin script only run when a page or post is being edited.

    In wp-content/plugins/anchor-block/anchor-block.php, I added these lines at the beginning of anchor_block_enqueue_scripts_admin() :

    if(!isset($_GET['post']) ){
      return false;

    Hope this helps someone.

    • This reply was modified 7 months, 3 weeks ago by . Reason: layout
    Anita C


    I have this issue. Will the plugin developer fix this because I do not want to modify the plugin itself.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.