diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx index 6c346cad..44e61324 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx @@ -51,7 +51,7 @@ export const BlockNoteEditor = ({ doc, provider }: BlockNoteEditorProps) => { const readOnly = !doc.abilities.partial_update; useSaveDoc(doc.id, provider.document, !readOnly); const { i18n } = useTranslation(); - const lang = i18n.language; + const lang = i18n.resolvedLanguage; const { uploadFile, errorAttachment } = useUploadFile(doc.id);