Skip to main content

blocks_as_written

Function blocks_as_written 

pub fn blocks_as_written(rich: &RichText) -> Vec<BlockContent>
Expand description

The blocks of rich as the editor that edits it holds them: each paragraph as its writer wrote it, every reference as its run (never as what a reader reads for it), and a block id that stands for its place, so the editor keeps a block’s widget from one presentation to the next.