Skip to main content

check_list_entries

Function check_list_entries 

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

Checks a list-replace value against the page and returns where each existing block it names is now. The list is the children of the block at parent_path, or the top level.