Skip to main content

changed_roots

Function changed_roots 

Source
pub fn changed_roots(
    before: Option<PageRef<'_>>,
    page: PageRef<'_>,
) -> Vec<GutenbergBlock>
Expand description

The top-level trees of page that hold a block added, changed or moved there since before, or that lost a child: a container’s template can require the child. before is the page as it was, if it existed.