-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Implement autolinking feature #4715
Comments
@oskarwrobel I created an issue, which partially concerns the UX approach to auto linking in https://github.com/ckeditor/ckeditor5-link/issues/14. |
I've tried an implementation of autolink in ckeditor 5 here you can check it out |
This is incredible. How is this not a thing? We have auto embed links, which can be super intrusive and if you want to disable it you need a custom build, but links don't link? When you use the medit provider {
name: 'allow-all',
url: /^.+/
} Then you actually get all links converted to media, which with auto embed ruins things now. But the point is that the functionality is right there. This is so surprising. This is something I would want to PR right away, basically copying the functionality from auto embed. But there is no indication on if a PR will even be accepted on here anymore. |
Seems like this has been an issue for a few years without any progress. Is this something the CKEditor team still want to address? |
After some fiddling with it - I'm not sure if the paste scenario is OK - or should be the only one. BehaviorI've checked GDocs & Word online and both works the same - the link is pasted as plain text. The autolinking happens on space & (shift-) enter. So it might be that this is what user would expect from this. It should undo link on ctrl+z. EnablingI guess the The other thing is to implement the CTRL+K handling when selection (collapsed?) is inside link - but that's different story (#4722). |
Feature (link): Added the `AutoLink` feature which replaces a plain text with a link if typed or pasted content is the link. Closes #4715.
Create autolinking mechanism as separate feature. After new content is inserted to the editor, editor should detect matched URL and automatically transforms it to link.
In addition to URLs it might also support email addresses.
The text was updated successfully, but these errors were encountered: