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.

Issue fork tooltip-3358452

Command icon 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

chandra gowsalya kannan’s picture

StatusFileSize
new848 bytes

This patch makes module D10 compatible.

dineshkumarbollu made their first commit to this issue’s fork.

dineshkumarbollu’s picture

Status: Needs review » Needs work

Hi

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
--------------------------------------------------------------------------------

rahul17’s picture

Assigned: Unassigned » rahul17
Status: Needs work » Needs review
StatusFileSize
new20.12 KB

Created patch to resolve deprecated library issue. Kindly review it.

rahul17’s picture

StatusFileSize
new19.7 KB

Ignore patch #5 uploaded wrong patch by mistake.

Uploading new patch this will work. Please review it.

rahul17’s picture

Assigned: rahul17 » Unassigned
abhinavk’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new7.92 KB
new6.78 KB
new7.45 KB

I have tested Patch #6 in Drupal 10.0.9 and it makes module compatible. Functionality is also working fine for me.
Moving to RTBC.

siddharthjain’s picture

As 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

siddharthjain’s picture

Status: Reviewed & tested by the community » Needs work
matthieuscarset’s picture

matthieuscarset’s picture

Status: Needs work » Needs review

This issue is fixed by the latest release 1.1.1.

Needs review.

The popperjs library is now required within this module on branch 1.1.x.

New dependency to drupal/ckeditor contrib module to continue to use CKEditor version 4.

NB: Compatibilty with CKEditor5 is out-of-scope for this issue.

ajeet_kumar’s picture

StatusFileSize
new839 bytes