From e8d2635e1c82ad206fad7f57e69019851cfa22d3 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Mon, 24 Feb 2025 13:40:06 -0300 Subject: [PATCH] fix: disable resizing in TextModal (#6718) * Created resizable parameter in TextEditorArea * Changed resizable to false in TextModal --- .../modals/textModal/components/textEditorArea/index.tsx | 6 +++++- src/frontend/src/modals/textModal/index.tsx | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/modals/textModal/components/textEditorArea/index.tsx b/src/frontend/src/modals/textModal/components/textEditorArea/index.tsx index 64e5b7030..a064b66a9 100644 --- a/src/frontend/src/modals/textModal/components/textEditorArea/index.tsx +++ b/src/frontend/src/modals/textModal/components/textEditorArea/index.tsx @@ -3,10 +3,12 @@ import { Textarea } from "../../../../components/ui/textarea"; const TextEditorArea = ({ left, value, + resizable = true, onChange, readonly, }: { left: boolean | undefined; + resizable?: boolean; value: any; onChange?: (string) => void; readonly: boolean; @@ -17,7 +19,9 @@ const TextEditorArea = ({ return (