diff --git a/plugins/text-editor-resources/src/components/CollaborativeTextEditor.svelte b/plugins/text-editor-resources/src/components/CollaborativeTextEditor.svelte index 822faa3958..2b4620ad77 100644 --- a/plugins/text-editor-resources/src/components/CollaborativeTextEditor.svelte +++ b/plugins/text-editor-resources/src/components/CollaborativeTextEditor.svelte @@ -425,7 +425,10 @@ element, editable: !readonly, editorProps: { - attributes: mergeAttributes(defaultEditorAttributes, editorAttributes, { class: 'flex-grow' }) + attributes: mergeAttributes(defaultEditorAttributes, editorAttributes, { + class: 'flex-grow', + translate: readonly ? 'yes' : 'no' + }) }, enableContentCheck: true, parseOptions: {