Bot enter button fix for Discourse AI

:information_source: Summary Reverts the Enter button to it’s usual new line behaviour for the post conversation with Discourse AI Bot
:hammer_and_wrench: Repository https://github.com/Lillinator/bot-enter-button-fix.git
:question: Install Guide How to install a theme or theme component

Install this theme component

This simple theme component reverts the annoying Enter button submission behaviour on the post messages in conversations with the Bot in the Discourse AI plugin (messages, not chat). Hitting Enter goes to a new line, while submitting the post message to the Discourse AI bot will require clicking/tapping the paper-plane icon.

There are no settings. Simply install the theme component as usual, add it to your selected themes, and refresh your browser.

This component works whether you have the docked composer enabled or not.


Check out my other Discourse stuff
5 Likes

made some fixes so it works for when docked composer is enabled or not.

2 Likes