froala / wysiwyg-editor

The next generation Javascript WYSIWYG HTML Editor.
https://www.froala.com/wysiwyg-editor
Other
5.23k stars 665 forks source link

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

Open ko-support opened 2 months ago

ko-support commented 2 months ago
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.