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 :-).)
So the trouble seems to be in liststyleediting.js, function upcastListItemStyle, which has a line
and at this point
listParentis null. (It’s calledHafter minification.) This is a list that isn’t inside another list, so maybe it’s correct thatlistParentis null (in which case the code should say something more likelistParent && listParent.getStyle(...) || ...or, to be more modern about it,listParent?.getStyle?.(...) || ...); or maybelistParentis meant to be the whole paragraph or the whole comment or something, in which case the bug is in whatever madelistParentbe 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 :-).)