mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-05 23:21:47 +01:00
This commit is contained in:
parent
463e9e3195
commit
fab8affaf2
1 changed files with 0 additions and 3 deletions
|
|
@ -781,9 +781,6 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
|
|||
if (!event.altKey && !event.shiftKey && !isCtrl(event) && event.key === "Enter") {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
if (event.repeat) {
|
||||
return;
|
||||
}
|
||||
enter(nodeElement, range, protyle);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue