From 5e0664a2a0d8352da6add88201b761d769b63209 Mon Sep 17 00:00:00 2001 From: JensLincke Date: Tue, 18 Jun 2024 12:42:06 +0200 Subject: [PATCH] added hot fix for vitrail lively4 support again in codemirror SQUASHED: AUTO-COMMIT-src-external-code-mirror-lib-codemirror.js, --- src/external/code-mirror/lib/codemirror.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/external/code-mirror/lib/codemirror.js b/src/external/code-mirror/lib/codemirror.js index 45e462386..18b973204 100644 --- a/src/external/code-mirror/lib/codemirror.js +++ b/src/external/code-mirror/lib/codemirror.js @@ -4090,7 +4090,7 @@ var active = activeElt(root(cm)); if (!active // #Lively4 #Vitrail #Hack needed for restoring focus when codemirror panes are in codemirror - || !contains(cm.display.lineDiv, active) + // || !contains(cm.display.lineDiv, active) ) { return null } var result = {activeElt: active}; if (window.getSelection) {