This PR is related to #1.
I make the textarea can key cmd + enter to reply or submit, also handle with ctr + enter.
Scope of work
Implement handleTextareaKeyDown to submit draft text on cmd and enter
Notes
I have some problems with writing the test. I try to run the test, but there said I need to install the browser. I try to run pnpm dlx create-playwright and run the test again. There has no error or response. If you want me to help with the test, please give me some advice or guide me.
If you have any feedback or suggestion, please do not hesitate to comment on this PR.
Overview
This PR is related to #1. I make the textarea can key
cmd
+enter
to reply or submit, also handle withctr
+enter
.Scope of work
handleTextareaKeyDown
to submit draft text oncmd
andenter
Notes
pnpm dlx create-playwright
and run the test again. There has no error or response. If you want me to help with the test, please give me some advice or guide me.If you have any feedback or suggestion, please do not hesitate to comment on this PR.