Quill升级:拦截默认的回车事件
This commit is contained in:
parent
da49a0f58c
commit
713d7b5844
@ -375,7 +375,7 @@ class RichText {
|
|||||||
keyboard: {
|
keyboard: {
|
||||||
bindings: {
|
bindings: {
|
||||||
enter: {
|
enter: {
|
||||||
key: 13,
|
key: 'Enter',
|
||||||
handler: function () {
|
handler: function () {
|
||||||
// 覆盖默认的回车键换行
|
// 覆盖默认的回车键换行
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user