Ckeditor4: <a> tag is automatically generated when adding an anchor

Created on 18 Jul 2017  路  4Comments  路  Source: ckeditor/ckeditor4

Most helpful comment

I'm going to vote this up because adding an ID anchor in any type of element has been around for a VERY VERY long time. This absolutely should be how it works.

All 4 comments

Hi,
it's a way how anchors work anchors. It takes selection and make link from selected text. Anchor is generated as <a> tag. You can also put caret without selection in a place where you would like to insert only flag, this will generate empty anchor.
So I'm not quite sure what you consider as a bug? Can you provide better description what is not working?

@joewardman It's been a while since we asked you for more information. Because there is no answer, I'm closing this issue.

Actually in XHTML, it's possible to make an anchor on any element, not just on 'a' element
Exemple here https://www.bennadel.com/blog/822-using-body-id-as-a-back-to-top-page-anchor.htm
Therefore it would be nice to have an option to add an id to an html element

I'm going to vote this up because adding an ID anchor in any type of element has been around for a VERY VERY long time. This absolutely should be how it works.

Was this page helpful?
0 / 5 - 0 ratings