From 876a3d70df9adb30ba1eeae6ce168ffdd9262d06 Mon Sep 17 00:00:00 2001 From: Harel M Date: Sun, 9 Nov 2025 13:02:16 +0200 Subject: [PATCH] Fix editor replace behavior (#1501) ## Launch Checklist - Fixes #1492 This adds the relevant selection and scroll intoview parameters that were previously missing as part of the migration to code mirror 6. It fixes the replace part as described in the bug. - [x] Briefly describe the changes in this PR. - [x] Link to related issues. While I think tests are needed here, I'm not sure there's an easy way to actually test this because testing the code mirror editor is hard, and even harder when there's key pressing (ctrl +F on windows and meta + F on mac) involved... --- src/components/InputJson.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/InputJson.tsx b/src/components/InputJson.tsx index 02e36c9f..04b782cd 100644 --- a/src/components/InputJson.tsx +++ b/src/components/InputJson.tsx @@ -74,12 +74,15 @@ class InputJsonInternal extends React.Component