Let’s say I have a numbered list with 100 items and 98 of them are selected. How can I apply the lift transform on these selected items efficiently?
I tried using ‘nodesBetween’, but when I apply the transform, it changes the selection. So I am recursively calling ‘nodesBetween’ to lift the selection. Is there a more efficient way to do this?