fix(editor): Fix copy/paste keyboard events in canvas chat (#12004)

This commit is contained in:
oleg 2024-12-02 16:08:48 +01:00 committed by GitHub
parent 28487edb13
commit 967340a293
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -283,7 +283,7 @@ watchEffect(() => {
:style="rootStyles"
@resize="onResizeDebounced"
>
<div ref="container" :class="$style.container">
<div ref="container" :class="[$style.container, 'ignore-key-press-canvas']" tabindex="0">
<div v-if="isChatOpen || isLogsOpen" :class="$style.chatResizer">
<n8n-resize-wrapper
v-if="isChatOpen"

View file

@ -177,7 +177,7 @@ function copySessionId() {
</div>
</header>
<main :class="$style.chatBody">
<MessagesList :messages="messages" :class="[$style.messages, 'ignore-key-press-canvas']">
<MessagesList :messages="messages" :class="$style.messages">
<template #beforeMessage="{ message }">
<MessageOptionTooltip
v-if="message.sender === 'bot' && !message.id.includes('preload')"