diff --git a/src/helpers/files.js b/src/helpers/files.js index 218abea3e08..76752228252 100644 --- a/src/helpers/files.js +++ b/src/helpers/files.js @@ -141,6 +141,9 @@ export const addMenuRichWorkspace = () => { displayName: t('text', 'Add folder description'), category: NewMenuEntryCategory.Other, enabled(context) { + if (!window?.OCA?.Text?.RichWorkspaceEnabled) { + return false + } if (Number(context.attributes['rich-workspace-file'])) { return false }