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