Compare commits

..

No commits in common. "7f7526783f01116be1c3bcdd765656d20828c1ac" and "60d11fbfa2790d0f143ea2db5a4b334883be5315" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ export const EditorMenuBar = (properties: TProperties) => {
addImage(imageUrl)
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [imageUrl])
}, [])
useEffect(() => {
if (uploadedFile && isUploadOpen === category) {

View File

@ -140,7 +140,7 @@ export const TextEditor = <TFormValues extends Record<string, unknown>>(
editor={editor}
id={id ?? generatedId}
className={twMerge(
'prose prose-headings:my-0.5 prose-p:my-0.5 max-w-none cursor-text overflow-y-auto rounded-b-md p-2',
'prose prose-headings:my-0.5 prose-p:my-0.5 max-h-96 max-w-none cursor-text overflow-y-auto rounded-b-md p-2',
inputClassName,
)}
onClick={() => editor?.commands.focus()}