mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
b869c9c329
An integration block cannot live in a table cell, so a table can't carry the ContentKit UI a feature-flag table needs. A button can, so a button carrying an `integration` action now renders the integration's component in a dialog: the integration answers the click and decides what the reader sees. The `integration` variant of `DocumentAction` is not in the published `@gitbook/api` yet, hence the cast in `getIntegrationAction`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>