pub fn text_from_editor(path: Option<String>) -> Option<String>