Skip to main content

html_to_copied_blocks

Function html_to_copied_blocks 

Source
pub fn html_to_copied_blocks(
    input: &str,
    id_gen: &mut dyn IdGenerator,
) -> CopiedBlocks
Expand description

Parse HTML into the clipboard-shaped CopiedBlocks subtree used by the React paste flow. Block IDs come from id_gen so the caller controls determinism.