Are you reporting a feature or a bug?
Feature Request - to extend support for HTML 5 markup
Provide detailed reproduction steps (if any)
- Create a static html page with latest CKEditor.
- In script, set the editor to allow all content viz.
config.allowedContent = true
- Load the html page in a browser and switch to 'source' mode
- Enter the following HTML 5 compliant markup:
<a href="#"><div class="a">something in A </div><div lass="b">some thing in B</div></a>
- Switch to WYSIWYG mode and then back to source mode
- Note that the markup is no longer the same but has been transformed to :
<div class="a"><a href="#">something in A </a></div>
Expected result
<a href="#"><div class="a">something in A </div></a>
Actual result
<div class="a"><a href="#">something in A </a></div>
References
Other details
This behavior has been noted in stackover flow
- Browser: Any
- OS: Any
- CKEditor version: 4.1+
- Installed CKEditor plugins: default
Are you reporting a feature or a bug?
Feature Request - to extend support for HTML 5 markup
Provide detailed reproduction steps (if any)
config.allowedContent = true<a href="#"><div class="a">something in A </div><div lass="b">some thing in B</div></a><div class="a"><a href="#">something in A </a></div>Expected result
<a href="#"><div class="a">something in A </div></a>Actual result
<div class="a"><a href="#">something in A </a></div>References
Other details
This behavior has been noted in stackover flow