Skip to main content

exit_code_node_on_enter

Function exit_code_node_on_enter 

Source
pub fn exit_code_node_on_enter(
    selection: &SelectionRef,
) -> Result<Option<NodeRef>, LexicalError>
Expand description

$exitCodeNodeOnEnter(selection): at the end of a code block that ends with two line breaks, a collapsed selection removes them and moves to a new paragraph after the block, which it returns.