commercetools / commercetools-docs-kit

Tools and components for developing Documentation websites 🛠
https://docs-kit.commercetools.vercel.app
MIT License
18 stars 5 forks source link

[assistant] Allow keyboard shortcuts like cmd+enter for a new line #2062

Open FFawzy opened 2 months ago

FFawzy commented 2 months ago

we received the following feedback from an internal user.

When working with a multi-line qeustion, it's annoying that CMD+ENTER doesn't create a new line, but instead send the the message out.

link to conversation

gabriele-ct commented 2 months ago

@ivanpanov-ct Would you mind clarifying what is the expected behaviour? It looks to us that when you key CMD+ENTER you actually create a new line, and to send the message you just have to key ENTER. Are you on a non Mac OS? Or maybe you have some particular keybaord settings?

gabriele-ct commented 2 months ago

We could add also SHIFT+ENTER to cover users that are used to different keys