Problem/Motivation

Below is one of the errors casued by tooltip.js:

Uncaught ReferenceError: once is not defined
    at Object.attach (tooltip.js?v=8.9.13:122:7)
    at drupal.js?v=8.9.13:25:24
    at Array.forEach (<anonymous>)
    at Drupal.attachBehaviors (drupal.js?v=8.9.13:22:34)
    at drupal.init.js?v=8.9.13:28:12
    at HTMLDocument.listener (drupal.init.js?v=8.9.13:20:9)

Steps to reproduce

Here is my drupal status report:
Drupal: 8.9.13
PHP: 7.3.20
jquery: 3.5.1
jquery-once: 2.2.3
ckeditor: 8..9.13

The Tooltip module is installed with Composer, and enabled in CKEditor. The undefined "getModulePath()" issue is fixed in modules/contrib/tooltip/src/Plugin/CKEditorPlugin/Tooltip.php

Comments

chsun created an issue. See original summary.

avpaderno’s picture

matthieuscarset’s picture

Status: Active » Needs review

An attempt to fix the issue in the last commit b20c4a2.

Needs review.