1 2 3 4 5 6 7 8 9
//! `packages/lexical-text/src/rootTextContent.ts`. use crate::get_root; /// `$rootTextContent()`: the root's text content. pub fn root_text_content() -> String { let root = get_root(); root.get_text_content() }