- Issue created by @mrogers
- 🇮🇳India ravi kant Jaipur
1. After install and enable module, you need to go
Administration -> Configuration -> Content authoring -> Text formats and editors
2. Drage the "Anchor link" icon to Active toolbar.
- 🇨🇦Canada mrogers
Thanks, but after the button is added to the editor and an anchor is added to the text, how should the link to the anchor be added?
The documentation states that there is "Dialog to insert links and anchors with some properties. Context menu option to edit or remove links and anchors..."
I can't see how to access the bolded items above.
- 🇮🇳India ravi kant Jaipur
Are you getting any error on console or in Recent log messages?
- 🇵🇱Poland Pozi
Hello, as @mrogers said, home page said there's an interactive modal for getting the list of created acnhors, like in CKEditor 4 plugin, you can see it in this presentation video: https://www.youtube.com/watch?v=XFesGHEeKTQ
Right now after creating an anchor "anchor_name" when i want to add link to it i have to manually type in link "#anchor_name", there's no list of anchors from which i can pick one in link creation modal. So we both wondering if we miss something during installation? - 🇪🇸Spain mtoscano
I have the same issue and nothing to report from the Console of the Recent log messages
- 🇩🇪Germany hexabinaer Berlin, Germany
A client of ours reported the same issue und now they want a reroll to CKEditor 4 :-D
Admittedly the "missing link" in this evolution is rather that the regular CKEditor link widget is not prepared for anchor links (maybe allowing to enter anchor names but then not allowing to edit the link).
In case patching that widget would be too effortful: It should be reasonable to introduce a complimentare extra button/widget just for adding anchor links. The icon could combine chain link + flag.
- 🇮🇹Italy giordy
I'm having problems with the form too.
As per the image, I can insert various things but not the anchor and it does not accept #anchor.
I don't know how to do it because I have many dozens of links to insert. - 🇺🇸United States justcaldwell Austin, Texas
Just wanted to chime in to say that the 3.0 branch of anchor_links (specifically for CKEditor 5) only provides a UI for creating anchors — i.e.
<a>
elements with an id attribute.Unlike previous branches that were for CKEditor 4, there is no UI for linking to anchors on the page, and there's no current indication that feature will be added to CKEditor plugin used by the 3.0 branch.
Editors should create links that target the anchors as described in step 2 of the issue summary.
(2) select the navigation text, click the standard 'link' icon, and manually enter '#myAnchor' as the link.
It's worth noting that the CKEditor 5 maintainers have started work on a native "Bookmark" plugin. Part 1 of that work is described in this issue on github. As noted there, and in this comment on a related issue, part 1 will add bookmark creation/editing UI — the "bookmark linking experience" will occur in a subsequent development effort.
So it seems like the native plugin will provide that functionality at some point.