I am using the Wix website editor. Is there a specific API that can help me with this? I’m trying to send a message with the realtime api by pressing the enter button.
Pratham
2
Yes you should be able to do that using the onKeyPress event. Something similar to this:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Disable Enter key from submitting Wix form | 4 | 111 | September 13, 2024 | |
| Button to add inputs to container dynamically | 3 | 45 | April 19, 2025 | |
| Export Function on key enter, not on click | 5 | 89 | May 12, 2024 | |
| Problem with api massage | 0 | 13 | January 27, 2025 | |
| Making Click to Text Buttons with Wix Custom Elements in Velo | 2 | 141 | December 18, 2025 |