mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-02 10:18:42 +00:00
Adjust
This commit is contained in:
@@ -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={() =>
|
||||||
|
|||||||
Reference in New Issue
Block a user