fix: preserve ai panel delete shortcuts

This commit is contained in:
lucaronin
2026-05-02 18:12:37 +02:00
parent 19b31cc96a
commit 20f34ab9d1
4 changed files with 87 additions and 7 deletions

View File

@@ -61,6 +61,7 @@ function handleDeleteKeys({
onDeleteContent,
}: HandleDeleteKeysArgs): boolean {
if (isInlineWikilinkCompositionEvent(event, isComposing)) return false
if (event.altKey || event.ctrlKey || event.metaKey) return false
if (event.key === 'Backspace') {
event.preventDefault()