Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
6.x-1.5
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2011 at 16:32 UTC
Updated:
9 Feb 2013 at 21:48 UTC
I would like my content editors to be able to include anchors but I want to move to HTML5 and <a name=> tags are not semantic. Would it be possible to provide id attributes by default to all headers? Then when the editor clicks the link button s/he could select the id element from the Anchor drop-down. I think that would be sweet!
Comments
Comment #1
mkesicki commentedI am not sure if I understand you good. You want from as to add some default id to all headers ie "
Header1
" and so on ?
If yes it can be good for some user but not good for others. I think that plenty of users can complain about this.
Comment #2
sarah_g commentedSorry, I forgot to put the code tags around my
<a name="">snippet. I don't really know what the solution should be but in html5<a name="">is invalid. Using id attributes in headers as anchors already works in html4 too, so that would be my preference.http://www.html-5.com/tags/a-tag/index.html#whats-new
Thank you
Comment #3
jonraedeke commentedIn case anyone still encounters this old issue, try upgrading to a newer version of the CKEditor library. This was fixed in v3.6.5 I believe.
Closing
Comment #3.0
jonraedeke commentedSorry, I needed to put code tags around my anchor example