Open msamsel opened 7 years ago
Problem seems to be cause by this fragment:
https://github.com/ckeditor/ckeditor-dev/blob/a0ba16d36458847bbc8af4bac73d25657b461340/plugins/tableselection/plugin.js#L908-L910
Range is body
and for its boundryNodes is returned head
which later on is returned as html
.
I tested some little change like below which seems to fix the issue (but maybe there is better way to fix it not necessary in this place):
startNode = boundaryNodes.startNode.getName() !== 'head' ? boundaryNodes.startNode : mergedRanges[ 0 ].startContainer ,
endNode = boundaryNodes.endNode.getName() !== 'head' ? boundaryNodes.endNode : mergedRanges[ 0 ].endContainer ;
Thank you @msamsel for reporting this issue so it will be fixed by #873.
Are you reporting a feature request or a bug?
Bug
Provide detailed reproduction steps (if any)
Expected result
No warnings in console
Actual result
Console with bunch of warnings.
Other details