From 42286258525a4283fcd125ec3b757be758c1d9fe Mon Sep 17 00:00:00 2001 From: Zeno Kapitein Date: Tue, 10 Feb 2026 18:23:19 +0100 Subject: [PATCH] Test --- .../gitbook/src/components/PageBody/PageBody.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/gitbook/src/components/PageBody/PageBody.tsx b/packages/gitbook/src/components/PageBody/PageBody.tsx index 41678a775..9e3dca3cb 100644 --- a/packages/gitbook/src/components/PageBody/PageBody.tsx +++ b/packages/gitbook/src/components/PageBody/PageBody.tsx @@ -7,6 +7,7 @@ import { hasFullWidthBlock, hasMoreThan, hasTopLevelBlock, isNodeEmpty } from '@ import type { AncestorRevisionPage } from '@/lib/pages'; import { tcls } from '@/lib/tailwind'; import { DocumentView, DocumentViewSkeleton } from '../DocumentView'; +import { InlineActionButton } from '../DocumentView/InlineActionButton'; import { TrackPageViewEvent } from '../Insights'; import { PageFeedbackForm } from '../PageFeedback'; import { CurrentPageProvider } from '../hooks/useCurrentPage'; @@ -81,6 +82,21 @@ export function PageBody(props: { pageHasToc ? 'page-has-toc' : 'page-no-toc' )} > +
+ Special button: + +
{page.cover && page.layout.cover && page.layout.coverSize === 'hero' ? (