Greasy Fork

Greasy Fork is available in English.

AI Enter 换行

让 AI 聊天输入区的 Enter 键可换行,使用 Cmd+Enter(Mac)或 Ctrl+Enter(Windows)发送消息。

< 脚本 AI Enter 换行 的反馈

评价:好评 - 脚本运行良好

§
发布于:2026-03-06

Hello, thank you for creating and maintaining this very useful script.

I use it regularly on ChatGPT, and it works great for sending messages with Ctrl+Enter (or Cmd+Enter). However, I noticed that the shortcut does not work when editing a previously sent message in ChatGPT. In the message editing interface, pressing Ctrl+Enter only inserts a newline instead of submitting the edited message.

It would be very helpful if the script could also support the ChatGPT message editing textarea so that Ctrl+Enter / Cmd+Enter can submit the edited message, just like in the normal input box.

Currently, the edit interface appears to use a inside an element like article[data-testid^="conversation-turn"], and the submit button is the primary button in that area.

If possible, could you consider adding support for this case in a future update?

Thank you again for your great work and for maintaining this script.

发布留言

登录以发布留言。