Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: markdown config

DarkPhoenix2704e526a8cb5ee6
diff --git a/packages/nc-gui/components/smartsheet/expanded-form/RichTextOptions.vue b/packages/nc-gui/components/smartsheet/expanded-form/RichTextOptions.vue
index ea3535ad47..d6eaafcb55 100644
--- a/packages/nc-gui/components/smartsheet/expanded-form/RichTextOptions.vue
+++ b/packages/nc-gui/components/smartsheet/expanded-form/RichTextOptions.vue
@@ -3,8 +3,11 @@ import type { Editor } from '@tiptap/vue-3'
interface Props {
editor: Editor | undefined
+ disableMention?: boolean
}
-const props = withDefaults(defineProps<Props>(), {})
+const props = withDefaults(defineProps<Props>(), {
+ disableMention: false,
+})
const { appInfo } = useGlobal()
@@ -187,7 +190,7 @@ const newMentionNode = () => {
<GeneralIcon icon="link2"></GeneralIcon>
</NcButton>
</NcTooltip>
- <NcTooltip v-if="appInfo.ee">
+ <NcTooltip v-if="appInfo.ee && !disableMention">
<template #title>
<div class="flex flex-col items-center">
<div>