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

The editor cannot recognise a regional or unpopular domain zone (.uk, .by, .ru, .su) in a link when typing text #4884

Open
Lunatune opened this issue Feb 27, 2025 · 1 comment

Comments

@Lunatune
Copy link

Expected behaviour.
When I type the link manually, it is successfully recognised for all of the following examples: test.com, test.net, test.uk, test.ru, test.su

Actual behaviour.
When I type the link manually it is successfully recognised only for test.com, test.net.
Links like test.uk, test.ru, test.su are not recognised.

Steps to reproduce the problem.

  1. Enter the string ‘test.com , test.net , test.uk , test.ru , test.su’ manually.
  2. See the result: ‘test.com , test.net’ is successfully recognised and now looks like a link (blue, underlined, clickable).
  3. See the other result: ‘test.uk , test.ru , test.su’ was not recognised and now looks like plain text.

Editor version.
4.0.18

OS.
I am using the Froala editor in a web application.

Browser.
All browsers (chrome, firefox, etc.)

Recording.
In the attached video.
https://github.com/user-attachments/assets/ae1b0480-c1ef-4ab7-bff6-b1543ab92312

@Lunatune
Copy link
Author

Lunatune commented Feb 27, 2025

This seems to due to the following regular expression: com|net|org|edu|mil|gov|co|biz|info|me|dev

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