Hey ![]()
Why do you think that pressing the Enter key won’t work? Did you try to use a combination to send the rich box value?
$w("#myElement").onKeyPress( (event) => {
let ctrl = event.ctrlKey;
if (ctrl && event.key === 'Enter') {
// send the rich box value
}
});
Wix Realtime API Tutorial.
I’m not sure the event handler will register the two keys at the same time, try it out and let me know if it worked.
Ahmad