From 0ec3ff2965880db3d1775b2015f0c684e76a6adc Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Tue, 22 Apr 2025 22:48:12 +0100 Subject: [PATCH] Add empty placeholder text --- .../components/table-of-contents/table-of-contents.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/client/src/features/editor/components/table-of-contents/table-of-contents.tsx b/apps/client/src/features/editor/components/table-of-contents/table-of-contents.tsx index b309d67d..123889f3 100644 --- a/apps/client/src/features/editor/components/table-of-contents/table-of-contents.tsx +++ b/apps/client/src/features/editor/components/table-of-contents/table-of-contents.tsx @@ -143,6 +143,12 @@ export const TableOfContents: FC = (props) => { {t("Add headings (H1, H2, H3) to generate a table of contents.")} )} + + {props.isShare && ( + + {t("No table of contents.")} + + )} ); }