feat(FN-4479): complete Step 1 — remove textarea pane

Fusion-Task-Id: FN-4479
Fusion-Task-Lineage: 5dfad520-13eb-4a31-a45c-2daf767a3dff
This commit is contained in:
Fusion
2026-05-14 08:56:27 -07:00
committed by gsxdsm
parent 8d899fc037
commit 43dc598984

View File

@@ -157,16 +157,7 @@ export function FileEditor({
<ReactMarkdown remarkPlugins={[remarkGfm]}>{content}</ReactMarkdown>
</div>
) : (
<>
<textarea
className={`file-editor-textarea ${wordWrap ? "file-editor-textarea--wrap" : ""}`}
aria-label={filePath ? `Editor for ${filePath}` : "File editor"}
value={content}
onChange={(event) => onChange(event.target.value)}
readOnly={readOnly}
/>
<div className="file-editor-codemirror" ref={editorHostRef} aria-hidden="true" />
</>
<div className="file-editor-codemirror" ref={editorHostRef} aria-label={filePath ? `Editor for ${filePath}` : "File editor"} />
)}
</div>
);