diff --git a/frontend/src/components/DocumentChunks.tsx b/frontend/src/components/DocumentChunks.tsx index c11f3559..ccdd5129 100644 --- a/frontend/src/components/DocumentChunks.tsx +++ b/frontend/src/components/DocumentChunks.tsx @@ -22,6 +22,7 @@ interface LineNumberedTextareaProps { placeholder?: string; ariaLabel?: string; className?: string; + editable?: boolean; } const LineNumberedTextarea: React.FC = ({ @@ -29,7 +30,8 @@ const LineNumberedTextarea: React.FC = ({ onChange, placeholder, ariaLabel, - className = '' + className = '', + editable = true }) => { const handleChange = (e: React.ChangeEvent) => { onChange(e.target.value); @@ -61,18 +63,29 @@ const LineNumberedTextarea: React.FC = ({ ))} -