Skip to main content

collect_required_children

Function collect_required_children 

Source
fn collect_required_children(
    entries: &[ListEntry],
    doc: &[GutenbergBlock],
    locations: &HashMap<Uuid, Vec<usize>>,
    required: &mut Vec<Uuid>,
) -> Result<(), EditError>
Expand description

Existing children of fully replaced blocks must be accounted for, like the replaced list’s own.