ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Introduce the "set anchor" feature / Bookmarks

Open kleinph opened this issue 6 years ago • 65 comments

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. Screenshot 2022-05-02 at 09 37 37

Screenshot 2022-05-02 at 09 38 10

If you'd like to see this feature implemented, add 👍 to this post.

kleinph avatar Aug 07 '19 14:08 kleinph

Hi, thanks for the report. I've converted your ticket to a feature request.

Mgsy avatar Aug 22 '19 07:08 Mgsy

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?

meecect avatar Feb 17 '21 21:02 meecect

any news for this feature?

giovannidias1 avatar Apr 29 '21 17:04 giovannidias1

+1 to this feature request

aborkhovych avatar May 20 '21 13:05 aborkhovych

+2 to this feature request

523299338 avatar Jun 08 '21 11:06 523299338

Drupal would also benefit from this feature: https://www.drupal.org/project/ckeditor5/issues/3224256.

wimleers avatar Jul 19 '21 13:07 wimleers

+1 to this feature request

hools18 avatar Sep 30 '21 11:09 hools18

Google brought me here. +1 for this request

PTWvL avatar Oct 01 '21 09:10 PTWvL

#meetoo <3

dpf-dd avatar Nov 22 '21 09:11 dpf-dd

+1 for this too

vlyalkobixal avatar Jan 04 '22 21:01 vlyalkobixal

+4 for this feature request

shootlens avatar Mar 01 '22 05:03 shootlens

+1 for this feature request

Barik85 avatar May 03 '22 13:05 Barik85

+1

cmak9149 avatar May 19 '22 18:05 cmak9149

+1

venmathiraj avatar Jun 06 '22 16:06 venmathiraj

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

ferrlen avatar Jun 26 '22 05:06 ferrlen

+1

javadbat avatar Jul 17 '22 11:07 javadbat

+1 to this.. It's quite a shame that this is not available in CKE5, when, to my knowledge, its available in CKE4.

ndanvers avatar Aug 10 '22 17:08 ndanvers

+1

filipnestak avatar Aug 11 '22 15:08 filipnestak

+1 Can't wait to see this feature come out!

hponcet avatar Sep 12 '22 10:09 hponcet

+1

theMusician avatar Oct 04 '22 18:10 theMusician

+1

taoyu65 avatar Dec 23 '22 21:12 taoyu65

+1

artemboyko43 avatar Jan 26 '23 17:01 artemboyko43

seems like this is a forgotten issue...

realysy avatar Feb 26 '23 15:02 realysy

+1 I found this plugin, but I wasn't able to get it working. https://www.npmjs.com/package/ckeditor5-anchor

BryanDeNijs avatar Mar 13 '23 15:03 BryanDeNijs

+1 to this feature request

sky-stroller avatar Apr 11 '23 02:04 sky-stroller

+1

bob-hinrichs avatar May 01 '23 19:05 bob-hinrichs

+1

bennydv avatar May 30 '23 18:05 bennydv

+1

helloandrewpaul avatar Jun 16 '23 21:06 helloandrewpaul

+1

loopy3025 avatar Jun 21 '23 16:06 loopy3025

+1

kitano-takuya1984 avatar Jun 22 '23 08:06 kitano-takuya1984