• Resolved theaonar

    (@theaonar)


    the plugin does not work with symbols. ie. if i have a string &&&. how to solve this one?

    • This topic was modified 4 years, 10 months ago by theaonar.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    @theaonar: Hi,

    Can you elaborate on what you’re trying to do? I have tested the following two example replacements:

    
    &&& => andandand
    :2& => &&
    

    I have used both the block editor and the classic editor (in both visual and text mode) to create posts. The &&& gets replaced by andandand, and the :2& gets replaced by && as expected.

    Can you provide an example of your replacement rule and a snippet of text where it isn’t working?

    Thread Starter theaonar

    (@theaonar)

    For example i have a string #word or &word. I want the hover to work on the 5 characters on the string. Doing #word => blablabla it only works on the letters, it excludes the # sign

    Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    @theaonar: Thanks for the clarification! My previous reply hinted about why I couldn’t reproduce your report, and that’s because I was thinking this was about another one of my plugins (Text Replace).

    Yes, for Text Hover, I was able to verify the issue you’re reporting. The current version of the plugin does not allow the text-to-be-hovered to begin or end with a special character (something other than letters and numbers). I’m working on a new version of the plugin that will add this capability. I’ll follow up here once it has been released.

    Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    @theaonar: Hi, I’ve just released v4.0 of the Text Hover plugin which fixes the bug you reported about not being able to add hovertext to strings that begin and/or end in punctuation.

    Thanks again for the report. Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘It does not work with symbols’ is closed to new replies.