Pasting empty list and converting it to different list type throws error #2438
Labels
plugin:list
The plugin which probably causes the issue.
resolution:duplicate
A duplicate of an already reported issue.
status:confirmed
An issue confirmed by the development team.
support
An issue reported by a commercially licensed client.
type:bug
A bug.
Type of report
Bug
Provide detailed reproduction steps (if any)
NOTE: Starting from CKEditor 4.8 it is enough to paste just the empty list
<ul></ul>
to get the error.Expected result
Hard to say because Empty lists is not something standard:
li
element gets created in empty list and it gets converted to different list type in necessary.ul
gets converted to emptyol
if numbered list was pressedActual result
JavaScript error gets thrown:
Message: Cannot read property 'listNode' of null
URI: /ckeditor-dev/plugins/list/plugin.js
Line: 334
Other details
The text was updated successfully, but these errors were encountered: