When I create a div with a link, and I toggle the editor, JCE removes the entire link code from the div.
This is the example:
<a href="#"><div id="test">text or image here</div></a>
When I toggle editor to see the result, and than back to the code view, this is the result:
<div id="test">text or image here </div>
So I don't understand why JCE removes the link outside of the div. I put there the link cause I would like the entire div with its background to be clickable.
If I save the article, when I'm in the code view, it saves the link! So it remove this only if I change to the visual way when I'm editing the article.