fix(editor): Prevent NodeCreator from swallowing AskAssistant enter event (#11532)

This commit is contained in:
Charlie Kolb
2024-11-07 16:22:13 +01:00
committed by GitHub
parent 6e2809b490
commit db94f169fc
12 changed files with 53 additions and 16 deletions

View File

@@ -1268,7 +1268,7 @@ export default defineComponent({
element instanceof HTMLElement &&
element.className &&
typeof element.className === 'string' &&
element.className.includes('ignore-key-press')
element.className.includes('ignore-key-press-canvas')
) {
return;
}