ckeditor5
ckeditor5 copied to clipboard
Introduce the "set anchor" feature / Bookmarks
Is this a bug report or feature request? (choose one)
🆕 Feature request
Create a feature that allows the user to insert an anchor to the document, just like in CKEditor 4.

If you'd like to see this feature implemented, add 👍 to this post.
Hi, thanks for the report. I've converted your ticket to a feature request.
I've been trying to write a plugin using the downcast converter to automatically add an anchor tags to heading tags.
I can't get it to work...in the interim before this feature request is finished, could someone help with the code requried for this? I have followed the docs and have been able to add classses, set attributes, etc, but wheh I try to insert elements, it doesn't seem to work.
Could you give an example of how one could add the linkHref attribute to the text inside a heading tag in a downcast action?
Or, alternatively, (perhaps better), could one create a blank text element with an href attribute and append (or prepend) it to the heading1 element in a downcast action?
any news for this feature?
+1 to this feature request
+2 to this feature request
Drupal would also benefit from this feature: https://www.drupal.org/project/ckeditor5/issues/3224256.
+1 to this feature request
Google brought me here. +1 for this request
#meetoo <3
+1 for this too
+4 for this feature request
+1 for this feature request
+1
+1
Is there any progress being made on this issue? I'd like to use CKEditor 5 in my app, but this is a dealbreaker.
It's not particularly hard to implement this feature. I thought of creating a plugin to add anchors, but this wouldn't make much of a difference because links in CKEditor seem to always open in a new window, which is not the behaviour I want. I just want the user to be able to scroll to the desired point in the text.
Edit: it seems it's actually possible to change the behaviour when clicking links https://ckeditor.com/docs/ckeditor5/latest/features/link.html . But honestly at this point it's easier to simply pick another text editor that already has these features set
+1
+1 to this.. It's quite a shame that this is not available in CKE5, when, to my knowledge, its available in CKE4.
+1
+1 Can't wait to see this feature come out!
+1
+1
+1
seems like this is a forgotten issue...
+1 I found this plugin, but I wasn't able to get it working. https://www.npmjs.com/package/ckeditor5-anchor
+1 to this feature request
+1
+1
+1
+1
+1