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":