improv: contain chat image to a max height

This commit is contained in:
tomasz-io 2024-12-24 11:07:04 -08:00
parent 8ef468119c
commit 57afa403a8

View file

@ -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(