WYSIWYG editor will retain focus when the user clicks the '+' button in the sidebar. (#1987)
This commit is contained in:
committed by
GitHub
parent
25c8ab29a9
commit
aad1bd092b
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user