chore(react/ribbon): add blur & keydown events

This commit is contained in:
Elian Doran
2025-08-23 19:54:02 +03:00
parent 3f3c7cfe88
commit efd713dc61
3 changed files with 6 additions and 41 deletions

View File

@@ -282,6 +282,8 @@ export default function AttributeEditor({ note, componentId }: { note: FNote, co
setState("showHelpTooltip");
}
}}
onKeyDown={() => attributeDetailWidget.hide()}
onBlur={() => save()}
disableNewlines disableSpellcheck
/>