pub fn setup_with_text( text: &str, ) -> Result<(DbContext, Arc<EventHub>, UndoRedoManager)>
Create an in-memory database with a Root, Document, and imported text content.
Returns (DbContext, Arc<EventHub>, UndoRedoManager).
(DbContext, Arc<EventHub>, UndoRedoManager)