Merge pull request #34167 from overleaf/mj-conversion-error-update

[web] Point conversion errors to docs page

GitOrigin-RevId: 1a5208065252159b6a69bc6ae4cecae1dd0cd4d8
This commit is contained in:
Mathias Jakobsen
2026-06-02 08:08:31 +00:00
committed by Copybot
parent a9a9f6ee6b
commit 96e0830eef
3 changed files with 11 additions and 7 deletions
@@ -17,15 +17,19 @@ const ExportDocumentErrorToast = ({ data }: { data?: any }) => {
<b>{t('we_couldnt_export_this_document')}</b>
</p>
<Trans
i18nKey="the_document_contains_formatting_we_werent_able_to_convert_contact_support_if_you_need_help"
i18nKey="the_document_contains_formatting_we_werent_able_to_convert"
components={[
// eslint-disable-next-line react/jsx-key, jsx-a11y/anchor-has-content
<a href="/contact" target="_BLANK" rel="noopener noreferrer" />,
<a
href="https://docs.overleaf.com/managing-projects-and-files/importing-and-exporting-files#common-issues-and-how-to-address-them"
target="_BLANK"
rel="noopener noreferrer"
/>,
]}
/>
{errorMessage && (
<details>
<summary>{t('error_details')}</summary>
<summary>{t('conversion_error_details')}</summary>
<pre
style={{ maxWidth: '800px', maxHeight: '300px', overflow: 'auto' }}
>