Tooltips not added

Created on 21 April 2025, 2 months ago

Problem/Motivation

Adding Glossify to our existing web site does not result in the feature working as expected.

Steps to reproduce

1. Installed modules (glossify + glossify taxonomy terms)
2. Create new vocabulary for 'glossary'
3. Add 1+ terms to this new vocabulary
4. Enable the filter on several text editing formats
5. Type in a taxonomy term into a text editor and save, ensuring the text format has the glossify filter enabled and configured.

I replicated these steps in a fresh d10 installation and the module works.

How should i go about troubleshooting to figure out what is causing this module to not work as expected?

πŸ’¬ Support request
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States safetypin Memphis, Tennessee

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

Comments & Activities

  • Issue created by @safetypin
  • πŸ‡ΊπŸ‡ΈUnited States safetypin Memphis, Tennessee

    Some more testing has revealed: that if i create a new page in our existing web site, and add a taxonomy term name into a text area with the right text formatting, then the term name get's a tooltip. However, if I edit an existing page and add a term name into a text area with the same text formatting, then the term name doesn't get a tooltip. Even if I remove nearly all other content and configuration for the node, the tooltip still doesn't get added to the term name.

    Still not sure how to troubleshoot this.

  • πŸ‡ΊπŸ‡ΈUnited States safetypin Memphis, Tennessee

    Additionally, if I create a new CK5 Editor text format with Glossify enabled as the only filter/extension enabled for that text format, and go to an existing page to add a term from the vocabulary, the tooltip is also not added.

  • πŸ‡ΊπŸ‡ΈUnited States safetypin Memphis, Tennessee

    If I add a debugging command (dpm) and output the text that is being parsed (at the beginning of the base text parsing method), it looks like this method isn't even being executed for existing node body and paragraph text areas. it does appear to be processing custom block text areas and newly created node body and paragraph text areas.

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Sorry but I can't reproduce it. Any chance that there's a misconfiguration? Maybe wrong text format for the affected contents, where Glossify isn't enabled or configured wrongly?

  • πŸ‡ΊπŸ‡ΈUnited States safetypin Memphis, Tennessee

    I suspect that this is a configuration issue; I also cannot reproduce the issue in a fresh drupal install. i'm just not sure how to figure out what's going wrong. It's definitely not the wrong text format -- i've added Glossify to all of our text formats. I've attached a screenshot of the Glossify configuration.

    Steps that I take to encounter: edit an old node, confirm the text format, add a word or phrase from the Glossary vocabulary. After saving, the word or phrase is not wrapped in an abbr tag. Then I create a new page, and add the same word or phrase from the vocabulary to the body, and it is wrapped in the abbr tag.

  • πŸ‡ΊπŸ‡ΈUnited States safetypin Memphis, Tennessee

    So, it looks like this is related to language codes. The site is quite old, and most of the content was created without langauge support, but language support was added in the last few years. Do you know of a way to update all of our content, all at once? Preferably with a batch process?

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica
Production build 0.71.5 2024