Skip to content

CKEditor doesn't understand invalid nested lists #3007

@zadam

Description

@zadam

Evernote produces following HTML:

<ul>
    <li>item 1</li>
    <li>item 2</li>
    <ul>
        <li>sub-item 2.1</li>
        <li>sub-item 2.2</li>
        <ul>
            <li>sub-item 2.2.1</li>
        </ul>
    </ul>
</ul>

Obviously, this (ul -> ul instead of ul -> li -> ul) isn't valid, but browsers don't have any trouble rendering it as expected. But CKEditor does this:

image

So it just ignores the nested list altogether. I'm not sure what approach CKEditor takes regarding the invalid HTML.

Metadata

Metadata

Assignees

Labels

package:listtype:bugThis issue reports a buggy (incorrect) behavior.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions