Add empty placeholder text
This commit is contained in:
parent
acffeacdbc
commit
0ec3ff2965
1 changed files with 6 additions and 0 deletions
|
|
@ -143,6 +143,12 @@ export const TableOfContents: FC<TableOfContentsProps> = (props) => {
|
||||||
{t("Add headings (H1, H2, H3) to generate a table of contents.")}
|
{t("Add headings (H1, H2, H3) to generate a table of contents.")}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{props.isShare && (
|
||||||
|
<Text size="sm" c="dimmed">
|
||||||
|
{t("No table of contents.")}
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue