mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
adding cover to node
This commit is contained in:
parent
f9a269137a
commit
c8593b7e7a
8 changed files with 204 additions and 10 deletions
|
@ -11,6 +11,7 @@ import { VideoEditor } from '~/components/editors/VideoEditor';
|
|||
import { AudioEditor } from '~/components/editors/AudioEditor';
|
||||
import { EditorImageUploadButton } from '~/components/editors/EditorImageUploadButton';
|
||||
import { EditorAudioUploadButton } from '~/components/editors/EditorAudioUploadButton';
|
||||
import { EditorUploadCoverButton } from '~/components/editors/EditorUploadCoverButton';
|
||||
|
||||
const prefix = 'NODE.';
|
||||
export const NODE_ACTIONS = {
|
||||
|
@ -98,7 +99,7 @@ export const NODE_EDITORS = {
|
|||
};
|
||||
|
||||
export const NODE_PANEL_COMPONENTS = {
|
||||
[NODE_TYPES.IMAGE]: [EditorImageUploadButton],
|
||||
[NODE_TYPES.IMAGE]: [EditorImageUploadButton, EditorUploadCoverButton],
|
||||
[NODE_TYPES.AUDIO]: [EditorAudioUploadButton, EditorImageUploadButton],
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue