tooltip.js causes "once is not defined" error

Created on 10 October 2022, almost 2 years ago
Updated 6 August 2023, about 1 year ago

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

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇳China chsun

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024