Problem/Motivation
Hello Project Maintainers, Creating this issue to help make module Drupal 10 Compatible.
Created patch for making module D10 compatible. There is one existing issue (core/popperjs library is deprecated in D9.5.0 and is removed in D10.0.0. https://www.drupal.org/node/3307518. Attached screenshot for reference.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | hard_remove_ckeditor4_dependency.patch | 839 bytes | ajeet_kumar |
Issue fork tooltip-3358452
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
chandra gowsalya kannan commentedThis patch makes module D10 compatible.
Comment #4
dineshkumarbollu commentedHi
The patch is applied cleanly but it found 1 error while running "drush upgrade_status:analyze tooltip"
vendor/bin/drush upgrade_status:analyze tooltip
[notice] Processing /var/www/html/vbd9/web/modules/contrib/tooltip-3358452.
================================================================================
Tooltip, --
Scanned on Mon, 05/08/2023 - 13:04
FILE: web/modules/contrib/tooltip-3358452/tooltip.libraries.yml
STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 0 The 'tooltip' library is depending on a deprecated library.
The "core/popperjs" asset library is deprecated in Drupal
9.5.0 and will be removed in Drupal 10.0.0. There is no
replacement. See https://www.drupal.org/node/3307518
--------------------------------------------------------------------------------
Comment #5
rahul17 commentedCreated patch to resolve deprecated library issue. Kindly review it.
Comment #6
rahul17 commentedIgnore patch #5 uploaded wrong patch by mistake.
Uploading new patch this will work. Please review it.
Comment #7
rahul17 commentedComment #8
abhinavk commentedI have tested Patch #6 in Drupal 10.0.9 and it makes module compatible. Functionality is also working fine for me.
Moving to RTBC.
Comment #9
siddharthjain commentedAs per this article(https://www.drupal.org/node/3307518) the core/popperjs is deprecated in Drupal 10, so we need to implement ckeditor tooltip using Floating UI library in Drupal 10
Comment #10
siddharthjain commentedComment #11
matthieuscarset commentedComment #12
matthieuscarset commentedThis issue is fixed by the latest release
1.1.1.Needs review.
The
popperjslibrary is now required within this module on branch1.1.x.New dependency to
drupal/ckeditorcontrib module to continue to use CKEditor version 4.NB: Compatibilty with CKEditor5 is out-of-scope for this issue.
Comment #13
ajeet_kumar