fix headings

This commit is contained in:
Philipinho
2026-03-03 14:17:51 +00:00
parent b6478fee84
commit 568dd4c321
3 changed files with 54 additions and 16 deletions
@@ -244,15 +244,17 @@ export function TitleEditor({
}
return (
<EditorContent
editor={titleEditor}
onKeyDown={(event) => {
// First handle the search hotkey
getHotkeyHandler([["mod+F", openSearchDialog]])(event);
<div className="page-title">
<EditorContent
editor={titleEditor}
onKeyDown={(event) => {
// First handle the search hotkey
getHotkeyHandler([["mod+F", openSearchDialog]])(event);
// Then handle other key events
handleTitleKeyDown(event);
}}
/>
// Then handle other key events
handleTitleKeyDown(event);
}}
/>
</div>
);
}