1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

changing max image height to its container

This commit is contained in:
Fedor Katurov 2019-10-18 09:35:32 +07:00
parent 1249389691
commit 1c92f9a3b8
3 changed files with 34 additions and 15 deletions

View file

@ -84,8 +84,6 @@ export const NODE_EDITORS = {
[NODE_TYPES.TEXT]: TextEditor,
};
export const MAX_NODE_FILES = 16;
export const NODE_EDITOR_DATA: Record<
typeof NODE_TYPES[keyof typeof NODE_TYPES],
Partial<INode>
@ -94,3 +92,8 @@ export const NODE_EDITOR_DATA: Record<
blocks: [{ text: '', type: 'text' }],
},
};
export const NODE_SETTINGS = {
MAX_FILES: 16,
MAX_IMAGE_ASPECT: 1.2,
};