Maybe add more detail in this comment by what you mean by “pristine state”. AFAIK, only the paragraph immediately following the caret is removed from it’s P element.