Morning!
Have done a quick search on the forums and not come up with anything, so thought it was best to start my own topic.
With HTML5 anchor tags are now valid block elements
e.g. The following is perfectly valid
However, with CKEditor, the cleanup converts it to
which is not what I want and messes up the styles set in the CSS.
Is there anyway that I can change the code to make the anchor tags recognised as a valid block level element?
Cheers
Mark
Have done a quick search on the forums and not come up with anything, so thought it was best to start my own topic.
With HTML5 anchor tags are now valid block elements
e.g. The following is perfectly valid
<a href=""> <img src="" alt="" /> <h1>Some Text</h1> </a>
However, with CKEditor, the cleanup converts it to
<a href=""><img src="" alt="" /></a> <a href=""><h1>Some Text</h1></a>
which is not what I want and messes up the styles set in the CSS.
Is there anyway that I can change the code to make the anchor tags recognised as a valid block level element?
Cheers
Mark
Re: Block (i.e. not inline) <a> tags
What you can do is report this issue on our Development site (as described here). We have just started with HTML5 support in CKEditor 3.6.1 and will be happy to accept suggestions on what features are needed most regarding HTML5 in CKEditor.
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: Block (i.e. not inline) <a> tags
Thanks Anna!
Re: Block (i.e. not inline) <a> tags
For the record, this issue is now tracked in ticket #8442. Thanks!
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: Block (i.e. not inline) <a> tags
Is there any chance this can get some love sooner rather than later?