- refactor getText function to process block properties and content
- add support for recursive processing of nested block content
- improve null checks and error handling in block processing
- update getBlockContentText to handle block value safely
The getTextContent function was removed and replaced with an import from
notion-utils, simplifying the text extraction logic for Notion page
content. This change removes the custom recursive implementation and
uses the standardized utility function instead.
- Add validation for transclusion reference pointer existence
- Return empty string when block is not found
- Prevent potential errors from undefined block references