Quill升级:拦截默认的回车事件

This commit is contained in:
街角小林
2024-08-22 14:39:45 +08:00
parent da49a0f58c
commit 713d7b5844

View File

@@ -375,7 +375,7 @@ class RichText {
keyboard: {
bindings: {
enter: {
key: 13,
key: 'Enter',
handler: function () {
// 覆盖默认的回车键换行
}