Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperlinks with underlined text don't get hyperlink context menu on-click #4755

Open
ko-support opened this issue Mar 5, 2024 · 0 comments

Comments

@ko-support
Copy link

ko-support commented Mar 5, 2024

Expected behavior.

A hyperlink with manually-added underlining should still be clickable to get the hyperlink contextual menu.

Actual behavior.

If you have a hyperlink that's been given underlined treatment, clicking on it will not open the hyperlink contextual menu to open/update/remove the hyperlink.

Steps to reproduce the problem.

Within Froala, add a hyperlink with normal text and one with underlined text, like so:
<p>This is a hyperlink: <a href="http://www.google.com" title="" name="" target="_blank" rel="noopener noreferrer">Google</a></p><p>This is an underlined hyperlink: <a href="http://www.google.com" title="" name="" target="_blank" rel="noopener noreferrer"><u>Google</u></a></p>

In the WYSIWYG, try to click on each link.

The first link will give you the hyperlink context menu, as expected.
The second link does not.

We've not been able to see any console errors, either.

Editor version.

4.1.4

OS.

Reproduces for our Windows 11 users as well as Mac Monterey 12.5

Browser.

Confirmed in Firefox 123.0, Chrome 122.0.6261.95.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant