mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 18:37:43 +08:00
Quill升级:拦截默认的回车事件
This commit is contained in:
parent
da49a0f58c
commit
713d7b5844
@ -375,7 +375,7 @@ class RichText {
|
||||
keyboard: {
|
||||
bindings: {
|
||||
enter: {
|
||||
key: 13,
|
||||
key: 'Enter',
|
||||
handler: function () {
|
||||
// 覆盖默认的回车键换行
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user