From e74c20fa1edca24caef05c4f1299deea15bedcdb Mon Sep 17 00:00:00 2001 From: adasq Date: Tue, 3 Oct 2023 14:28:46 +0200 Subject: [PATCH] Update index.js --- examples/parse-text-from-any-block-type/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/parse-text-from-any-block-type/index.js b/examples/parse-text-from-any-block-type/index.js index 2ca98c9f..a2540bdd 100644 --- a/examples/parse-text-from-any-block-type/index.js +++ b/examples/parse-text-from-any-block-type/index.js @@ -97,6 +97,9 @@ const getTextFromBlock = block => { // Does not include text from ToC; just the color text = "ToC color: " + block.table_of_contents.color break + case "rich_text": + text = getPlainTextFromRichText(block.rich_text) + break; case "breadcrumb": case "column_list": case "divider":