By default, the platform does not have this option. You can use the following JavaScript code to disable sending the private message when pressing the "Enter" key.


Please follow the steps below:


1. Go to BuddyBoss > Theme Options.

2. Under Custom Codes, enable JavaScript.

3. Append the following:


jQuery('#message_content').bind('keydown', function(e) {
    if (e.keyCode == 13) {
        e.preventDefault();
        }
    });


4. Click Save Changes.


Note: Any modifications are considered as custom work already. Know more about our Support Policy here: https://www.buddyboss.com/support-policy/

Screenshots: