This commit is contained in:
Oliver Walters
2026-05-26 11:36:06 +00:00
parent 73a3218bf3
commit f75444455d
@@ -37,7 +37,6 @@ import {
Tooltip Tooltip
} from '@mantine/core'; } from '@mantine/core';
import { import {
IconArrowMerge,
IconCirclePlus, IconCirclePlus,
IconColumnInsertLeft, IconColumnInsertLeft,
IconColumnInsertRight, IconColumnInsertRight,
@@ -164,7 +163,7 @@ export default function NotesEditor({
} }
}), }),
TableKit.configure({ TableKit.configure({
table: { resizable: true, renderWrapper: true, cellMinWidth: 50 } table: { resizable: false, renderWrapper: true, cellMinWidth: 50 }
}) })
], ],
content: '', content: '',
@@ -564,16 +563,6 @@ export default function NotesEditor({
> >
<IconRowRemove size='0.9rem' /> <IconRowRemove size='0.9rem' />
</RichTextEditor.Control> </RichTextEditor.Control>
<RichTextEditor.Control
disabled={!isInTable}
onClick={() =>
editor?.chain().focus().mergeOrSplit().run()
}
aria-label={t`Merge or split cells`}
title={t`Merge or split cells`}
>
<IconArrowMerge size='0.9rem' />
</RichTextEditor.Control>
<RichTextEditor.Control <RichTextEditor.Control
disabled={!isInTable} disabled={!isInTable}
onClick={() => onClick={() =>