Am I correct to think that when you lift all the child nodes out of a parent node, that the parent node is automatically removed and you don’t have to worry about violating the parent node’s content expression?
Take this trivial example:
let range = $from.blockRange($to); tr.lift(range, 0);
When I lift this single list item node out of the bullet list, the bullet list is automatically removed. Which is good, because if it wasn’t removed the bullet_list would be violating its schema since it would lack any child nodes.
Is my understanding correct or am I missing something? Thanks in advance.