In CK Editor 3.x when you put an ID on an element, it does not show up in the link by element id dropdown box. The anchor name dropdown works, but not the element ID. This actually isn't working in the demo either...has this been addressed yet?
Thanks!
Thanks!
Re: Link by Element ID Does Not Work
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Link by Element ID Does Not Work
Switch to source view, add an id to element. Highlight some text, hit the link button, choose link type of "link to anchor in the text." There is nothing there. If you add an anchor, then there are two drop down boxes, one for "by anchor name" and one for "by element id." The anchor box will have your anchor in it, the element ID box is empty.
Re: Link by Element ID Does Not Work
extracted from link.js
Of course it would be better to provide all the elements with an id or remove that select box if it's not meant to be used.
This works for modern browsers:
Re: Link by Element ID Does Not Work
Re: Link by Element ID Does Not Work
I've created http://dev.ckeditor.com/ticket/8982 so that the patch doesn't get lost, but I don't think that it will be applied because then people with old browsers will say "hey this new feature doesn't work in my browser and our company can't upgrade, so you must write the code to support this shitty browser"