Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat: tables in channels (#5696)

Wolf Mermelstein7324c6adaee9
diff --git a/apps/web/src/features/channel/Input/configured-markdown-editor.ts b/apps/web/src/features/channel/Input/configured-markdown-editor.ts
index 468cf83b32..5c5cb1abd2 100644
--- a/apps/web/src/features/channel/Input/configured-markdown-editor.ts
+++ b/apps/web/src/features/channel/Input/configured-markdown-editor.ts
@@ -56,7 +56,7 @@ export function createConfiguredChannelMarkdownEditor(
editor
.withEmojis()
- .withActions({ ignoreActionIds: ['hr', 'table', 'latex'] })
+ .withActions({ ignoreActionIds: ['hr', 'latex'] })
.withLinks({ floatingMenu: true, autoLinkMatchMode: 'common-tlds' })
.withHistory({ timeGap: 400 })
.withCode()
diff --git a/apps/web/src/lib/core/component/LexicalMarkdown/theme.ts b/apps/web/src/lib/core/component/LexicalMarkdown/theme.ts
index cb0b7a1a4f..5a6b593f97 100644
--- a/apps/web/src/lib/core/component/LexicalMarkdown/theme.ts
+++ b/apps/web/src/lib/core/component/LexicalMarkdown/theme.ts
@@ -72,7 +72,7 @@ export const theme: EditorThemeClasses = {
code: 'bg-code-buffer font-mono p-3 rounded block md-code-box before:text-ink-extra-muted/70 whitespace-pre mb-4',
static: {
'code-container': 'bg-code-buffer rounded',
- 'table-container': 'my-4 max-w-full',
+ 'table-container': 'my-4 max-w-full overflow-x-auto pb-2',
},
codeHighlight,
'inline-search': 'md-inline-search bg-hover text-ink-muted rounded-sm p-0.5',