- πΊπΈUnited States edwardsay
This issue was reported as problematic for cases when you need to add an anchor to the node URL.
I created a patch to address this issue. The autocomplete menu item will be automatically selected on the autocomplete menu close if it's the only item available. This patch can be applied to Linkit module version 6.1.0
Attached is a .gif with the demonstration of how the link to Node with anchor will work after applying the patch.
- π©πͺGermany dbielke1986
Oh, yes! Great, because we are currently activating the CKEditor Anchor Link and are also using exactly this functionality.
It would be nice if this fix would be included in an official release.
@edwardsay:
Are you using the alpha2 of the AnchorLink module in CKEditor5 and what are your experiences with it so far? - πΊπΈUnited States edwardsay
@dbielke1986 Yes, we use Anchor Link 3.0.0-alpha2 and it works well.
However, this particular issue is unrelated to the Anchor Link CKEditor plugin. This is solely related to the Linkit plugin.
- last update
10 months ago Patch Failed to Apply - last update
10 months ago Patch Failed to Apply Thank you for creating this patch! Unfortunately, it does not appear to apply to 6.1-dev, or 6.1.2. Specifically, it looks like there is a problem with the compiled JS file. If you have a chance, could you take a look?
- First commit to issue fork.
- Merge request !45Issue #3222939 by edwardsay, mark_fullmer, dbielke1986: Linkit is creating... β (Merged) created by mark_fullmer
- last update
10 months ago 83 pass - Status changed to Needs review
10 months ago 10:12pm 24 February 2024 - πΊπΈUnited States mark_fullmer Tucson
The merge request should provide a version that applies cleanly to 6.1.x. I've also re-characterized this issue as a feature request, rather than a bug, since I see the assumption that the single matching result should be the one the user want to be a convenience, rather than an expectation.
- Status changed to RTBC
10 months ago 7:09pm 26 February 2024 I've tested this update on a couple of sites, and it works as described.
- last update
10 months ago 84 pass - last update
10 months ago 84 pass - last update
10 months ago 84 pass -
mark_fullmer β
committed fc15a679 on 6.1.x
Issue #3222939 by mark_fullmer, edwardsay, dbielke1986: Do not require...
-
mark_fullmer β
committed fc15a679 on 6.1.x
- Status changed to Fixed
8 months ago 9:27pm 8 May 2024 Hey, this is a problem for my site where we have ckeditor anchor_link installed. My client is trying to paste a URL in, but the only match is a suggestion for an anchor which they can't ignore anymore, so it's switching their entire external link to an anchor instead.
How can they ignore the only suggestion if they want to use exactly what they pasted?
- πΊπΈUnited States mark_fullmer Tucson
How can they ignore the only suggestion if they want to use exactly what they pasted?
This is a great question/point, and should be addressed. I'm not sure if it means that we should just revert this change, as the assumption about being able to use a single matching suggestion may be incorrect. Do you mind creating a new issue -- tagged as a bug report -- to look into the proper resolution?
Bug report here:
https://www.drupal.org/project/linkit/issues/3447669 π No longer a way to post a link as-is if there is 1 pattern match ActiveAutomatically closed - issue fixed for 2 weeks with no activity.
- πΊπΈUnited States mark_fullmer Tucson
Thanks for the bug report. Based on what is described in π No longer a way to post a link as-is if there is 1 pattern match Active , I am concluding that this feature request was not a good idea to start with, since users don't always want to accept a suggestion provided by Linkit, even if there is only one suggestion. I'll work to back out the change in the 6.1.x and 7.x branches.