Skip to content

HTML5 transparent content model support - block-level links #514

@anand-s-ndaq

Description

@anand-s-ndaq

Are you reporting a feature or a bug?

Feature Request - to extend support for HTML 5 markup

Provide detailed reproduction steps (if any)

  1. Create a static html page with latest CKEditor.
  2. In script, set the editor to allow all content viz. config.allowedContent = true
  3. Load the html page in a browser and switch to 'source' mode
  4. 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>
  5. Switch to WYSIWYG mode and then back to source mode
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:confirmedAn issue confirmed by the development team.type:featureA feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions