mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-27 12:22:16 -08:00
fix(editor): Fix copy/paste keyboard events in canvas chat (#12004)
This commit is contained in:
parent
28487edb13
commit
967340a293
|
@ -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"
|
||||
|
|
|
@ -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')"
|
||||
|
|
Loading…
Reference in a new issue