mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
simplier slider for images
This commit is contained in:
parent
f4f808d7e5
commit
b88aa32e07
6 changed files with 143 additions and 122 deletions
|
@ -14,6 +14,7 @@ import { EditorAudioUploadButton } from '~/components/editors/EditorAudioUploadB
|
|||
import { EditorUploadCoverButton } from '~/components/editors/EditorUploadCoverButton';
|
||||
import { Filler } from '~/components/containers/Filler';
|
||||
import { modalShowPhotoswipe } from '../modal/actions';
|
||||
import { NodeImageBlock } from '~/components/node/NodeImageBlock';
|
||||
|
||||
const prefix = 'NODE.';
|
||||
export const NODE_ACTIONS = {
|
||||
|
@ -87,8 +88,12 @@ type INodeComponents = Record<
|
|||
}>
|
||||
>;
|
||||
|
||||
export const NODE_HEADS: INodeComponents = {
|
||||
[NODE_TYPES.IMAGE]: NodeImageBlock,
|
||||
};
|
||||
|
||||
export const NODE_COMPONENTS: INodeComponents = {
|
||||
[NODE_TYPES.IMAGE]: NodeImageSlideBlock,
|
||||
// [NODE_TYPES.IMAGE]: NodeImageSlideBlock,
|
||||
[NODE_TYPES.VIDEO]: NodeVideoBlock,
|
||||
[NODE_TYPES.AUDIO]: NodeAudioImageBlock,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue