- Issue created by @gido
- Merge request !2Issue 3515056: Declare jQuery, once and drupalSettings dependencies → (Open) created by Unnamed author
- 🇨🇭Switzerland gido
I created a Merge Request as the JS also require `core/drupalSettings`, `core/once`.
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
1. Install and Configure the module
2. Go to a page on a Drupal 10.4 site as anonymous
Update the README to document that this module rely on jQuery or add a library dependency to `core/jquery` ?
Active
1.0
Code
I created a Merge Request as the JS also require `core/drupalSettings`, `core/once`.