fix: some style

This commit is contained in:
Kilu 2024-06-27 20:12:31 +08:00
parent 8c0d451630
commit 15dfd194a1

View File

@ -2,7 +2,7 @@ import { BlockData, BlockType, InlineBlockType, YjsEditorKey } from '@/applicati
import { BulletedList } from '@/components/editor/components/blocks/bulleted-list'; import { BulletedList } from '@/components/editor/components/blocks/bulleted-list';
import { Callout } from '@/components/editor/components/blocks/callout'; import { Callout } from '@/components/editor/components/blocks/callout';
import { CodeBlock } from '@/components/editor/components/blocks/code'; import { CodeBlock } from '@/components/editor/components/blocks/code';
// import { DatabaseBlock } from '@/components/editor/components/blocks/database'; import { DatabaseBlock } from '@/components/editor/components/blocks/database';
import { DividerNode } from '@/components/editor/components/blocks/divider'; import { DividerNode } from '@/components/editor/components/blocks/divider';
import { Heading } from '@/components/editor/components/blocks/heading'; import { Heading } from '@/components/editor/components/blocks/heading';
import { ImageBlock } from '@/components/editor/components/blocks/image'; import { ImageBlock } from '@/components/editor/components/blocks/image';
@ -70,10 +70,10 @@ export const Element = memo(
return TableBlock; return TableBlock;
case BlockType.TableCell: case BlockType.TableCell:
return TableCellBlock; return TableCellBlock;
// case BlockType.GridBlock: case BlockType.GridBlock:
// case BlockType.BoardBlock: case BlockType.BoardBlock:
// case BlockType.CalendarBlock: case BlockType.CalendarBlock:
// return DatabaseBlock; return DatabaseBlock;
default: default:
return UnSupportedBlock; return UnSupportedBlock;
} }