• We have both Oasis Workflow and Polylang active. When switching between the Component panel an error occurs within function getCurrentLanguage() in /polylang/js/build/block-editor.min.js bringing the Gutenberg Editor to an error.

    getCurrentLanguage() {
      return document.querySelector("[name=post_lang_choice]").value
    }

    I changed this to

    getCurrentLanguage() {
      return jQuery("#post_lang_choice").val()
    }

    and no error comes up anymore. Maybe this can be integrated into an upcoming version?

  • The topic ‘Editor bug when using Oasis Workflow and Polylang’ is closed to new replies.