Closed froger closed 2 years ago
The toggle function don't support empty toggles.
Here the error on empty toggle:
// notion-to-md.js const toggle_summary = block.toggle.rich_text[0].plain_text; TypeError: Cannot read properties of undefined (reading 'plain_text')
In this PR you will find:
utils/md#toggle
Thanks for contribution 🙏 It's live in v2.5.0.
v2.5.0
The toggle function don't support empty toggles.
Here the error on empty toggle:
In this PR you will find:
utils/md#toggle
: