pub fn extract_range(doc: &RichDoc, range: DocRange) -> Vec<Block>Expand description
Extract the content within range as a standalone list of blocks, keeping
each run’s InlineStyle and (for wholly-selected blocks) the block-level
attributes. Drives styled Copy / Cut — the inverse shape of
splice_fragment. Returns an empty vec for a collapsed range.