fix(core): cannot space inside ai panel input (#12167)

### TL;DR

fix: cannot space inside ai panel input

> CLOSE BS-3428
This commit is contained in:
yoyoyohamapi
2025-05-07 07:46:13 +00:00
parent 8ea39d5438
commit 3afecc0605
2 changed files with 19 additions and 1 deletions

View File

@@ -52,8 +52,9 @@ export function setupSpaceAIEntry(panel: AffineAIPanelWidget) {
event.preventDefault();
insertSpace(host);
panel.hide();
return;
}
return;
}
const selection = host.selection.find(TextSelection);