mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
simple drag
This commit is contained in:
parent
1b6a81d27c
commit
f42953b460
3 changed files with 208 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
import { FC } from 'react';
|
||||
import { IBlock, INode, ValueOf, IComment } from '../types';
|
||||
import { NodeImageBlock } from '~/components/node/NodeImageBlock';
|
||||
import { NodeImageSlideBlock } from '~/components/node/NodeImageSlideBlock';
|
||||
import { ImageEditor } from '~/components/editors/ImageEditor';
|
||||
import { TextEditor } from '~/components/editors/TextEditor';
|
||||
import { DIALOGS } from '../modal/constants';
|
||||
|
@ -63,7 +63,7 @@ type INodeComponents = Record<
|
|||
>;
|
||||
|
||||
export const NODE_COMPONENTS: INodeComponents = {
|
||||
[NODE_TYPES.IMAGE]: NodeImageBlock,
|
||||
[NODE_TYPES.IMAGE]: NodeImageSlideBlock,
|
||||
};
|
||||
|
||||
export const EMPTY_COMMENT: IComment = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue