diff --git a/api_webchat/messagesArea.js b/api_webchat/messagesArea.js index 072730f4..bae388c1 100644 --- a/api_webchat/messagesArea.js +++ b/api_webchat/messagesArea.js @@ -146,7 +146,7 @@ class MessagesArea extends HTMLElement { const actionButton = document.createElement('button'); actionButton.textContent = 'Send'; actionButton.addEventListener('click', () => { - alert(this.fullText); + alert(this.fullTextHTML); }); actionButtons.appendChild(actionButton); this.messages.appendChild(actionButtons);