Document that this module require jQuery

Created on 24 March 2025, 25 days ago

Problem/Motivation

The Tooltips works great with CKEditor 5 and Drupal 10.4 when user is logged in (and have access to the Admin Theme) but fail with a javascript error for anonymous user.

The JS Error:

Uncaught ReferenceError: jQuery is not defined
    <anonymous> http://localhost:8080/modules/contrib/ckeditor_tooltips/js/ckeditor_tooltips.js?stmqy6:57

Steps to reproduce

1. Install and Configure the module
2. Go to a page on a Drupal 10.4 site as anonymous

Proposed resolution

Update the README to document that this module rely on jQuery or add a library dependency to `core/jquery` ?

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇭Switzerland gido

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024