improv: contain chat image to a max height
This commit is contained in:
parent
8ef468119c
commit
57afa403a8
1 changed files with 4 additions and 0 deletions
|
|
@ -340,6 +340,10 @@ function TipTapEditor(props: TipTapEditorProps) {
|
|||
});
|
||||
return [plugin];
|
||||
},
|
||||
}).configure({
|
||||
HTMLAttributes: {
|
||||
class: "editor-image bg-black object-contain max-h-[250px] w-full",
|
||||
},
|
||||
}),
|
||||
Placeholder.configure({
|
||||
placeholder: getPlaceholderText(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue