From 7dfaff1538d250f15f1101bd3cd65c69b498ab8c Mon Sep 17 00:00:00 2001 From: Zhihe Li Date: Wed, 28 Sep 2022 14:49:09 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Fix=20raw=20api=20output?= =?UTF-8?q?=20not=20displaying=20codemirror=20properly=20(#1354)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: ICU-6249 --- addons/rose/addon/modifiers/code-mirror.js | 1 + ui/desktop/app/templates/scopes/scope/projects/targets.hbs | 1 + 2 files changed, 2 insertions(+) diff --git a/addons/rose/addon/modifiers/code-mirror.js b/addons/rose/addon/modifiers/code-mirror.js index 6efa1a419..7d0130997 100644 --- a/addons/rose/addon/modifiers/code-mirror.js +++ b/addons/rose/addon/modifiers/code-mirror.js @@ -8,6 +8,7 @@ import 'codemirror/mode/shell/shell'; import 'codemirror/addon/edit/matchbrackets'; import 'codemirror/addon/edit/closebrackets'; import 'codemirror/addon/selection/active-line'; +import 'codemirror/addon/display/autorefresh'; // Here we define default options for the editor. // These should follow the codemirror configuration types diff --git a/ui/desktop/app/templates/scopes/scope/projects/targets.hbs b/ui/desktop/app/templates/scopes/scope/projects/targets.hbs index 017f8bcdb..2ff1290f0 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/targets.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/targets.hbs @@ -135,6 +135,7 @@ lineNumbers=false cursorBlinkRate=-1 styleActiveLine=false + autoRefresh=true }} />