WYSIWYG editor will retain focus when the user clicks the '+' button in the sidebar. (#1987)

This commit is contained in:
Louis Knight-Webb
2026-01-12 23:09:19 +00:00
committed by GitHub
parent 25c8ab29a9
commit aad1bd092b

View File

@@ -26,6 +26,7 @@ export function SectionHeader({
<button
type="button"
onClick={onIconClick}
onMouseDown={(e) => e.preventDefault()}
className="text-low hover:text-normal"
>
<IconComponent className="size-icon-xs" weight="bold" />