mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
changing max image height to its container
This commit is contained in:
parent
1249389691
commit
1c92f9a3b8
3 changed files with 34 additions and 15 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue