mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: some style
This commit is contained in:
parent
8c0d451630
commit
15dfd194a1
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user