Closed jswiderski closed 3 years ago
First thoughts.
When we add another list and select three as in the example above, only the last list will be removed. When we add an empty paragraph before the first list it's been working. In this place we're checking whether the entire list has been selected, but for some reason it seems that only the first list has been selected as a whole, returning range from the last and removing it.
If we don't select the entire list the content will be removed from a selected range, not from the range returned by the above-mentioned function.
At this moment we can try to update getSelectedTableList()
function to check if we have selected more than one whole list and return the range with startContainer
pointing to the beginning of the first selected list.
Type of report
Bug
Provide detailed reproduction steps (if any)
middle