From 8b19d448d8bc9fb43e8494cbd4594c1ef7b8b8d1 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Tue, 26 Mar 2024 09:21:06 +1000 Subject: [PATCH] Update modules/ROOT/pages/6.1-release-notes.adoc Co-authored-by: tiny-ben-tran --- modules/ROOT/pages/6.1-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/6.1-release-notes.adoc b/modules/ROOT/pages/6.1-release-notes.adoc index 2556fe37ea..cbf8b3554f 100644 --- a/modules/ROOT/pages/6.1-release-notes.adoc +++ b/modules/ROOT/pages/6.1-release-notes.adoc @@ -226,7 +226,7 @@ This update fixes this bug. When the Comments plugin loads, the comment model da ==== Opening the comments sidebar via an editor command did not respect the `grabFocus` argument -If the Comments sidebar was opened with an editor command and `grabFocus` was set to true — `editor.execCommand("'tc-open-comment'", false, "showcomments", { grabFocus: true });` — the sidebar still stole focus. +If the Comments sidebar was opened with an editor command and `grabFocus` was set to true — `editor.execCommand("tc-open-comment", false, "showcomments", { grabFocus: true });` — the sidebar still stole focus. This update corrects this: `grabFocus: true` is honored, as expected, and the sidebar does not have the focus.