and at this point listParent is null. (It’s called H after minification.) This is a list that isn’t inside another list, so maybe it’s correct that listParent is null (in which case the code should say something more like listParent && listParent.getStyle(...) || ... or, to be more modern about it, listParent?.getStyle?.(...) || ...); or maybe listParent is meant to be the whole paragraph or the whole comment or something, in which case the bug is in whatever made listParent be null.
(I don’t know whether you are in a position to change the code—I think you’re using someone else’s editor component—so maybe this is no help. It might also be no help by being wrong :-).)
Oh, interesting. That is a totally different bug from what I had encountered previously. Will look into it. Somehow I’ve never run into this.
So the trouble seems to be in liststyleediting.js, function upcastListItemStyle, which has a line
and at this point
listParent
is null. (It’s calledH
after minification.) This is a list that isn’t inside another list, so maybe it’s correct thatlistParent
is null (in which case the code should say something more likelistParent && listParent.getStyle(...) || ...
or, to be more modern about it,listParent?.getStyle?.(...) || ...
); or maybelistParent
is meant to be the whole paragraph or the whole comment or something, in which case the bug is in whatever madelistParent
be null.(I don’t know whether you are in a position to change the code—I think you’re using someone else’s editor component—so maybe this is no help. It might also be no help by being wrong :-).)