We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
官方插件样例里的textarea中输入回车键会直接关闭设置界面,然而确实存在有输入较长文本的需求,希望能够解绑shift + enter或者ctrl + enter来允许在textarea里换行
貌似是这里,加一个&& !e.ctrltKey 或者&& !e.shiftKey就行
&& !e.ctrltKey
&& !e.shiftKey
最好是能够直接解绑回车键啦,但是想想应该也有需要较长单行文本的情况,这时候又有绑定回车的需求,所以平衡一下变成类似微信聊天框那种输入就挺好的(enter发送,shift/ctrl + enter换行)
No response
The text was updated successfully, but these errors were encountered:
🎨 fix #8652
22ffc30
Vanessa219
No branches or pull requests
In what scenarios do you need this feature?
官方插件样例里的textarea中输入回车键会直接关闭设置界面,然而确实存在有输入较长文本的需求,希望能够解绑shift + enter或者ctrl + enter来允许在textarea里换行
Describe the optimal solution
貌似是这里,加一个
&& !e.ctrltKey
或者&& !e.shiftKey
就行Describe the candidate solution
最好是能够直接解绑回车键啦,但是想想应该也有需要较长单行文本的情况,这时候又有绑定回车的需求,所以平衡一下变成类似微信聊天框那种输入就挺好的(enter发送,shift/ctrl + enter换行)
Other information
No response
The text was updated successfully, but these errors were encountered: