From 1e9767ad35b42646003bbb29157a023739847d11 Mon Sep 17 00:00:00 2001 From: Mike Ellan <52717970+sonicyeti@users.noreply.github.com> Date: Fri, 10 Jul 2020 15:00:38 -0400 Subject: [PATCH] Revert "2377 paste issue fix (#2386)" (#2389) This reverts commit 60cb5fb9dd1ebe50341ebc474a2d5c6ace2c7a36. --- .../app/ui/components/codemirror/one-line-editor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/insomnia-app/app/ui/components/codemirror/one-line-editor.js b/packages/insomnia-app/app/ui/components/codemirror/one-line-editor.js index 936c2fe15..bf6f9494b 100644 --- a/packages/insomnia-app/app/ui/components/codemirror/one-line-editor.js +++ b/packages/insomnia-app/app/ui/components/codemirror/one-line-editor.js @@ -264,10 +264,10 @@ class OneLineEditor extends PureComponent { } if (this._mayContainNunjucks(this.getValue())) { - // return; + return; } - // NOTE: Temporary fix to address losing values when toggling between CM and traditional input instances - // this.setState({ mode: MODE_INPUT }); + + this.setState({ mode: MODE_INPUT }); } _setEditorRef(n) {